diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2015-03-25 20:54:19 +0100 | 
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2015-03-25 20:56:15 +0100 | 
| commit | bfe5521b0861d2b924e1b252fd322bc001ecbf81 (patch) | |
| tree | 2d83ca1f6ef8cace980c10b05fd02e5a0f1ba4ea /cli | |
| parent | bc4d8b7ec95c85935547338cf4c1ca5f58e08309 (diff) | |
Fix bash completion.
Diffstat (limited to 'cli')
| -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 | 
