m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/completion
diff options
context:
space:
mode:
authorBrian Mattern <rephorm@rephorm.com>2012-09-20 23:21:29 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-21 08:28:20 +0200
commit8d26d9ebb5a0ad1a2390323f44c832d2a42ea6e5 (patch)
treed0467bb1f5390de5355d100ab113f73686e8a7e9 /src/completion
parent93c025c69aac8867916bbd0f5813765fac7d852b (diff)
Beef up bash completion
New features: * command name completion (show,insert,generate,etc) * `pass init <tab>` will list email addresses from gpg --list-keys * for 'show' command, if a folder contains a single entry, it will be auto-completed (recursively!) The other commands don't do this since you could be adding a new entry into an existing folder. * option completion (e.g., --clip) Note: I turned off "-o filenames" because it was incompatible with the auto-expansion. So, I instead quote using `printf "%q"` to handle files with spaces and other odd characters.
Diffstat (limited to 'src/completion')
0 files changed, 0 insertions, 0 deletions