summaryrefslogtreecommitdiff
path: root/src/completion/pass.fish-completion
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-17 14:30:05 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-17 14:40:56 +0200
commit658fe0ac863a4d1c62b3c64d2ed9c92981274bd4 (patch)
treeb9a27d105afa122a13ac57f7bf15142843c502aa /src/completion/pass.fish-completion
parent1763e2d0347c38aa8f7167f6fcfd4401fd6995dc (diff)
downloadpass-658fe0ac863a4d1c62b3c64d2ed9c92981274bd4.tar.gz
pass-658fe0ac863a4d1c62b3c64d2ed9c92981274bd4.tar.bz2
pass-658fe0ac863a4d1c62b3c64d2ed9c92981274bd4.zip
mv: Add pass mv/rename support
Based-on-work-by: Matthieu Weber <mweber@free.fr> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--src/completion/pass.fish-completion4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/completion/pass.fish-completion b/src/completion/pass.fish-completion
index 10c9488..2498be4 100644
--- a/src/completion/pass.fish-completion
+++ b/src/completion/pass.fish-completion
@@ -81,6 +81,10 @@ complete -c $PROG -f -A -n '__fish_pass_uses_command generate' -s c -l clip -d '
complete -c $PROG -f -A -n '__fish_pass_uses_command generate' -s f -l force -d 'Do not prompt before overwritting'
complete -c $PROG -f -A -n '__fish_pass_uses_command generate' -a "(__fish_pass_print_entry_dirs)"
+complete -c $PROG -f -A -n '__fish_pass_needs_command' -a mv -d 'Command: rename existing password'
+complete -c $PROG -f -A -n '__fish_pass_uses_command mv' -s f -l force -d 'Force rename'
+complete -c $PROG -f -A -n '__fish_pass_uses_command mv' -a "(__fish_pass_print_entries_and_dirs)"
+
complete -c $PROG -f -A -n '__fish_pass_needs_command' -a rm -d 'Command: remove existing password'
complete -c $PROG -f -A -n '__fish_pass_uses_command rm' -s r -l recursive -d 'Remove password groups recursively'
complete -c $PROG -f -A -n '__fish_pass_uses_command rm' -s f -l force -d 'Force removal'