spm

Personal fork of spm (simple password manager)

commit 5834cd5fd3318501cc5af3129a93ba2a2daeec9b
parent 470bc8aaf72d461d170b4ac6abae3f6ad2c8f393
Author: nmeum <git-nmeum@8pit.net>
Date: Tue, 25 Mar 2014 10:22:13 +0100

more zshism
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zsh_completion b/zsh_completion
@@ -2,9 +2,9 @@
 
 _tpm() {
   local cmd=${words[2]}
-  if [ "${cmd}" = "insert" ]; then
+  if [[ "${cmd}" = "insert" ]]; then
     _tpm_complete_entries -true
-  elif [ "${cmd}" = "show" ]; then
+  elif [[ "${cmd}" = "show" ]]; then
     _tpm_complete_entries -iname '*.gpg' -type f
   else
     local -a subcommands