diff options
author | Johannes Altmanninger <aclopte@gmail.com> | 2020-06-25 23:41:08 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-06-25 15:43:00 -0600 |
commit | 9ec2990e96031e617237ac4881288974a69b7522 (patch) | |
tree | e5a201a69515e4e794d577932003acb0d4401bcc /tests/TODO.txt | |
parent | 3be8496c7488bce380e8072a98a353f9b90875a1 (diff) | |
download | pass-9ec2990e96031e617237ac4881288974a69b7522.tar.gz pass-9ec2990e96031e617237ac4881288974a69b7522.tar.bz2 pass-9ec2990e96031e617237ac4881288974a69b7522.zip |
fish-completion: support completions for wrapper commands
There is no point to checking the command name, fish already does that.
Additionally fish knows about commands that "wrap" pass; those commands
should inherit pass's completions.
This commit enables fish>=3.1.0 to provide proper completions for this function:
alias p="PASSWORD_STORE_DIR=$HOME/.my-passwords pass"
or, equivalently,
function p --wraps "PASSWORD_STORE_DIR=$HOME/.my-passwords pass"
PASSWORD_STORE_DIR=$HOME/.my-passwords pass $argv
end
Diffstat (limited to 'tests/TODO.txt')
0 files changed, 0 insertions, 0 deletions