diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 14:08:57 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 14:08:57 +1300 |
commit | e174468fa61923c61a579556fcb6bddaf91696d9 (patch) | |
tree | 598ae400c3d6e52bc807b7b06b7e7cd2663c9fff /bash | |
parent | Add explanatory comments for version check (diff) | |
download | dotfiles-e174468fa61923c61a579556fcb6bddaf91696d9.tar.gz dotfiles-e174468fa61923c61a579556fcb6bddaf91696d9.zip |
Remove redundant return short-circuit
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/pushd.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/pushd.bash b/bash/bashrc.d/pushd.bash index 4a6e4be3..ec621037 100644 --- a/bash/bashrc.d/pushd.bash +++ b/bash/bashrc.d/pushd.bash @@ -1,4 +1,4 @@ # Make pushd default to $HOME if no arguments given, much like cd pushd() { - builtin pushd "${@:-"$HOME"}" || return + builtin pushd "${@:-"$HOME"}" } |