aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-08-05 12:56:29 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-08-05 12:56:29 +1200
commit037f0abd361b7f83f52ff58901b98e1c0fbabe62 (patch)
tree8edab6c6aca71cc332d4cfd6f967654723f9cbfa /bash/bashrc.d
parentFix local var (diff)
downloaddotfiles-037f0abd361b7f83f52ff58901b98e1c0fbabe62.tar.gz
dotfiles-037f0abd361b7f83f52ff58901b98e1c0fbabe62.zip
Strip unneeded quotes
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/bd.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/bd.bash b/bash/bashrc.d/bd.bash
index 1825ae9c..e77cda49 100644
--- a/bash/bashrc.d/bd.bash
+++ b/bash/bashrc.d/bd.bash
@@ -4,7 +4,7 @@ bd() {
# If there are no arguments, we just move up one directory (cd ..)
if (($#)) ; then
- dir="${PWD%/$1*}"/"$1"
+ dir=${PWD%/$1*}/$1
else
dir=..
fi