diff options
-rw-r--r-- | cli/bash-completion.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/bash-completion.sh b/cli/bash-completion.sh index 81bee51..bbef124 100644 --- a/cli/bash-completion.sh +++ b/cli/bash-completion.sh @@ -58,7 +58,7 @@ _icevault() { if [ -z "$cur" -a $(($OPTIND + 1)) -eq $cword -a "${words[OPTIND]}" = insert ]; then return elif [ -z "$cur" -a $OPTIND -eq $cword ] || [ -z "$cur" -a $(($OPTIND + 1)) -eq $cword -a "${words[OPTIND]}" = fill ]; then - cur="$(./icevault _geturi)"/ # get URI from webpage + cur="$(icevault _geturi)"/ # get URI from webpage else cur=$(dequote "$cur") # trim words with : or = in $COMP_WORDBREAKS; see __ltrim_colon_completions @@ -78,7 +78,7 @@ _icevault() { # quote manually (so we don't quote the : and =) uri=$( echo "${uri#$trim}" | sed "s/[][\\{}*?~<>;'\"|&()\!$\` \t]/\\\\&/g" ) COMPREPLY+=( "$uri" ) - done < <(./icevault -0 _complete "$cur") + done < <(icevault -0 _complete "$cur") [ "${#COMPREPLY[@]}" -eq 1 -a "${COMPREPLY[0]: -1:1}" = / ] && compopt -o nospace return 0 fi |