summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 9eefc15..1b72e84 100644
--- a/.bashrc
+++ b/.bashrc
@@ -219,7 +219,7 @@
}
popd() {
___dirchanged="y"
- builtin popd >/dev/null 2>&1 || true
+ builtin popd >/dev/null 2>&1 || builtin popd +1
}
alias cd="pushd" # change directory
alias bd="popd" # back directory