aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/bd.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bashrc.d/bd.bash b/bash/bashrc.d/bd.bash
index 60b55580..1825ae9c 100644
--- a/bash/bashrc.d/bd.bash
+++ b/bash/bashrc.d/bd.bash
@@ -1,5 +1,6 @@
# Move back up the directory tree to the first directory matching the name
bd() {
+ local dir
# If there are no arguments, we just move up one directory (cd ..)
if (($#)) ; then