diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-03-10 15:38:21 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-03-10 15:38:21 +1300 |
commit | 1d0ed04907b5334df7dcf27ddf7ca0ee431253ac (patch) | |
tree | 72ea27111afc7253eb89bebeec617d4f440e52f5 /bash/bashrc.d/pd.bash | |
parent | Define pd function (parent directory) (diff) | |
download | dotfiles-1d0ed04907b5334df7dcf27ddf7ca0ee431253ac.tar.gz dotfiles-1d0ed04907b5334df7dcf27ddf7ca0ee431253ac.zip |
Handle default case correctly
Diffstat (limited to 'bash/bashrc.d/pd.bash')
-rw-r--r-- | bash/bashrc.d/pd.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/pd.bash b/bash/bashrc.d/pd.bash index f9fb2ab7..76316560 100644 --- a/bash/bashrc.d/pd.bash +++ b/bash/bashrc.d/pd.bash @@ -28,7 +28,7 @@ pd() { target=${target%/} target=${target%/*} ;; - 2) + *) printf 'bash: pd: too many arguments\n' >&2 return 1 ;; |