From 013d91d4eea9b85662f68c6212bda769bb081c9a Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 25 May 2015 11:57:59 +0800 Subject: [PATCH] Revert "Add completions for pass" This reverts commit bfbeca8b6c2fd5f25488bc1add4198e570898722 which was submitted in #2089. `pass` ships its own completions and duplication is likely to cause problems. See https://github.com/fish-shell/fish-shell/pull/1843 for the rationale. --- share/completions/pass.fish | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 share/completions/pass.fish diff --git a/share/completions/pass.fish b/share/completions/pass.fish deleted file mode 100644 index bc9e0f29e..000000000 --- a/share/completions/pass.fish +++ /dev/null @@ -1,29 +0,0 @@ -complete -c pass -n '__fish_use_subcommand' -a "help" -x -d "Show help" -complete -c pass -n '__fish_use_subcommand' -a "grep" -x -d "Search for password files" -complete -c pass -n '__fish_use_subcommand' -a "generate" -x -d "Generates a password" -complete -c pass -n '__fish_use_subcommand' -a "rm" -x -d "Removes a password" -complete -c pass -n '__fish_use_subcommand' -a "cp" -x -d "Copies a password" -complete -c pass -n '__fish_use_subcommand' -a "mv" -x -d "Moves a password" -complete -c pass -n '__fish_use_subcommand' -a "ls" -x -d "Lists passwords" -complete -c pass -n '__fish_use_subcommand' -a "find" -x -d "Finds passwords matching pass names" -complete -c pass -n '__fish_use_subcommand' -a "init" -x -d "Initialize new password storage" -complete -c pass -n '__fish_use_subcommand' -a "insert" -x -d "Insert a password" -complete -c pass -n '__fish_use_subcommand' -a "edit" -x -d "Insert or edit a password" -complete -c pass -n '__fish_use_subcommand' -a "git" -x -d "Run a git command" -complete -c pass -n '__fish_use_subcommand' -a "show" -x -d "Show a password" - -complete -c pass -s c -l clip --description "Copy to clipboard" - -complete -c pass -n "__fish_seen_subcommand_from rm cp mv generate insert" -s f -l force - -complete -c pass -n "__fish_seen_subcommand_from rm" -s r -l recursive -complete -c pass -n "__fish_seen_subcommand_from generate" -s n -l no-symbols -complete -c pass -n "__fish_seen_subcommand_from generate" -s i -l in-place -complete -c pass -n "__fish_seen_subcommand_from init" -s p -l path -complete -c pass -n "__fish_seen_subcommand_from insert" -s e -l echo -complete -c pass -n "__fish_seen_subcommand_from insert" -s m -l multiline -complete -c pass -n "__fish_seen_subcommand_from git" -a "init push pull config log reflog rebase" - -set -l files (pushd $HOME/.password-store; echo **/*.gpg | sed 's/\.gpg//g'; popd) - -complete -c pass -n "not __fish_seen_subcommand_from git generate init help grep" -x -a "$files"