aboutsummaryrefslogtreecommitdiff
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
parent02240d70a8c0c22f423c3b314f19ba72f45ee816 (diff)
downloaddotfiles-e174468fa61923c61a579556fcb6bddaf91696d9.tar.gz
Remove redundant return short-circuit
-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"}"
}