diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/completion/pass.bash-completion | 2 | ||||
-rw-r--r-- | src/completion/pass.fish-completion | 1 | ||||
-rw-r--r-- | src/completion/pass.zsh-completion | 6 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/completion/pass.bash-completion b/src/completion/pass.bash-completion index 332bf51..ea31fbf 100644 --- a/src/completion/pass.bash-completion +++ b/src/completion/pass.bash-completion @@ -86,7 +86,7 @@ _pass() _pass_complete_entries ;; generate) - COMPREPLY+=($(compgen -W "-n --no-symbols -c --clip -f --force" -- ${cur})) + COMPREPLY+=($(compgen -W "-n --no-symbols -c --clip -f --force -i --in-place" -- ${cur})) _pass_complete_entries ;; cp|copy|mv|rename) diff --git a/src/completion/pass.fish-completion b/src/completion/pass.fish-completion index e973882..c32a42c 100644 --- a/src/completion/pass.fish-completion +++ b/src/completion/pass.fish-completion @@ -77,6 +77,7 @@ complete -c $PROG -f -A -n '__fish_pass_needs_command' -a generate -d 'Command: complete -c $PROG -f -A -n '__fish_pass_uses_command generate' -s n -l no-symbols -d 'Do not use special symbols' complete -c $PROG -f -A -n '__fish_pass_uses_command generate' -s c -l clip -d 'Put the password in clipboard' 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' -s i -l in-place -d 'Replace only the first line with the generated password' 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' diff --git a/src/completion/pass.zsh-completion b/src/completion/pass.zsh-completion index 167c283..b658398 100644 --- a/src/completion/pass.zsh-completion +++ b/src/completion/pass.zsh-completion @@ -42,7 +42,11 @@ _pass () { "-n[don't include symbols in password]" \ "--no-symbols[don't include symbols in password]" \ "-c[copy password to the clipboard]" \ - "--clip[copy password to the clipboard]" + "--clip[copy password to the clipboard]" \ + "-f[force overwrite]" \ + "--force[force overwrite]" \ + "-i[replace first line]" \ + "--in-place[replace first line]" _pass_complete_entries_with_subdirs ;; cp|copy|mv|rename) |