summaryrefslogtreecommitdiff
path: root/src/completion/pass.fish-completion
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-14 14:59:07 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-15 00:27:57 +0200
commit7ed0a70aa6d1fd502ff5443bced462d6dedd8511 (patch)
treeac45fb7a2479752b39c84a053bfbfdab420644a2 /src/completion/pass.fish-completion
parent7efccbc1c2bed9ad94102c5a962054e6b87b5390 (diff)
downloadpass-7ed0a70aa6d1fd502ff5443bced462d6dedd8511.tar.gz
pass-7ed0a70aa6d1fd502ff5443bced462d6dedd8511.tar.bz2
pass-7ed0a70aa6d1fd502ff5443bced462d6dedd8511.zip
find: add find/search command
This relies on a patched version of tree to work, unfortunately. Hopefully upstream will accept our patch. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--src/completion/pass.fish-completion2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/completion/pass.fish-completion b/src/completion/pass.fish-completion
index 5c52ecc..d8f97e2 100644
--- a/src/completion/pass.fish-completion
+++ b/src/completion/pass.fish-completion
@@ -106,3 +106,5 @@ complete -c $PROG -f -A -n '__fish_pass_uses_command git' -a 'commit' -d 'Commit
complete -c $PROG -f -A -n '__fish_pass_uses_command git' -a 'push' -d 'Push changes to remote repo'
complete -c $PROG -f -A -n '__fish_pass_uses_command git' -a 'pull' -d 'Pull changes from remote repo'
complete -c $PROG -f -A -n '__fish_pass_uses_command git' -a 'log' -d 'View changelog'
+
+complete -c $PROG -f -A -n '__fish_pass_needs_command' -a find -d 'Command: find a password file or directory matching pattern'