aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-08-05 12:56:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-08-05 12:56:22 +1200
commit563abe268b4d39deb4c6e360a8e3832891c7bb17 (patch)
tree07036b558143315e6e775b8922eadb5950e46c14 /bash/bashrc.d
parentFix order of Bash functions (diff)
downloaddotfiles-563abe268b4d39deb4c6e360a8e3832891c7bb17.tar.gz
dotfiles-563abe268b4d39deb4c6e360a8e3832891c7bb17.zip
Fix local var
Diffstat (limited to 'bash/bashrc.d')
-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