commit 80e7ab6b04774be3e158e35e3d76b29450efa323 parent e0c3ae3136bc2f4702eb001de5aac8e7ddcea777 Author: Sören Tempel <soeren+git@soeren-tempel.net> Date: Thu, 19 Feb 2015 11:06:13 +0100 Use double instead of single quotes Diffstat:
M | contrib/bash_completion | | | 2 | +- |
M | contrib/zsh_completion | | | 4 | ++-- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/bash_completion b/contrib/bash_completion @@ -34,7 +34,7 @@ _tpm_complete_entries() { local dir="${TPM_STORE_DIR:-${HOME}/.password-store}" if [[ -d "${dir}" ]]; then - local files="$(find -L "${dir}/" -name '.git' -prune -o $@ -print | sed -e "s|${dir}.||" -e "s|\.gpg||" | sort)" + local files="$(find -L "${dir}/" -name ".git" -prune -o $@ -print | sed -e "s|${dir}.||" -e "s|\.gpg||" | sort)" COMPREPLY=($(compgen -W "${files}" -- ${cur})) fi } diff --git a/contrib/zsh_completion b/contrib/zsh_completion @@ -37,8 +37,8 @@ _tpm_complete_entries() { local dir="${TPM_STORE_DIR:-${HOME}/.password-store}" if [[ -d "${dir}" ]]; then - _values -C 'entries' \ - $(find -L "${dir}/" -name '.git' -prune -o $@ -print | sed -e "s|${dir}.||" -e "s|\.gpg||" | sort) + _values -C "entries" \ + $(find -L "${dir}/" -name ".git" -prune -o $@ -print | sed -e "s|${dir}.||" -e "s|\.gpg||" | sort) fi }