aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/sd.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/sd.bash')
-rw-r--r--bash/bashrc.d/sd.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/sd.bash b/bash/bashrc.d/sd.bash
index a838f94d..70903246 100644
--- a/bash/bashrc.d/sd.bash
+++ b/bash/bashrc.d/sd.bash
@@ -60,7 +60,7 @@ sd() {
# If we have one argument, it's easy, we just try to move to that one
if (($# == 1)) ; then
dirname=$1
-
+
# If no argument, the user is lazy; if there's only one sibling, we'll do
# what they mean and switch to it
elif (($# == 0)) ; then
@@ -103,7 +103,7 @@ sd() {
"$FUNCNAME" "$FUNCNAME" >&2
return 2
fi
-
+
# Try to change into the determined directory
builtin cd "${opts[@]}" ../"$dirname"
}