aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-30 14:08:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-30 14:08:57 +1300
commite174468fa61923c61a579556fcb6bddaf91696d9 (patch)
tree598ae400c3d6e52bc807b7b06b7e7cd2663c9fff /bash/bashrc.d
parentAdd explanatory comments for version check (diff)
downloaddotfiles-e174468fa61923c61a579556fcb6bddaf91696d9.tar.gz
dotfiles-e174468fa61923c61a579556fcb6bddaf91696d9.zip
Remove redundant return short-circuit
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/pushd.bash2
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"}"
}