aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/sd.bash4
-rw-r--r--bash/bashrc.d/vr.bash2
2 files changed, 3 insertions, 3 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"
}
diff --git a/bash/bashrc.d/vr.bash b/bash/bashrc.d/vr.bash
index 3eb1fbdd..c63e174e 100644
--- a/bash/bashrc.d/vr.bash
+++ b/bash/bashrc.d/vr.bash
@@ -20,7 +20,7 @@ vr() {
"$FUNCNAME" "$path"
return 1
fi
-
+
# Ask Git the top level
local git_root
git_root=$(cd -- "$path" && git rev-parse --show-toplevel 2>/dev/null)