diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-07 20:47:37 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-07 21:31:51 +1300 |
commit | 0976603694f0fb1bf078260317d78c6c8194b4ae (patch) | |
tree | 875d09d00a09e9ddf23ce0634a69c8c4caeaead3 /bash/bash_completion.d/path.bash | |
parent | Add two ideas (diff) | |
download | dotfiles-0976603694f0fb1bf078260317d78c6c8194b4ae.tar.gz dotfiles-0976603694f0fb1bf078260317d78c6c8194b4ae.zip |
Improvements to path()
* Move common directory argument checking into helper function
* Tolerate only one directory argument
* Show subcommand in error output
* Don't show help on failed commands, just suggest it
* (Technicality) Fix trailing-newline lossage in subshell function
Diffstat (limited to 'bash/bash_completion.d/path.bash')
0 files changed, 0 insertions, 0 deletions