summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bashrc/main.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bashrc/main.sh b/bashrc/main.sh
index e5ba2d6..e2075fd 100644
--- a/bashrc/main.sh
+++ b/bashrc/main.sh
@@ -12,6 +12,7 @@ declare -r _BASHRC_DIR="${_DOTFILES_DIR}/bashrc"
# start in home dir
if [[ -n "${DIR}" ]]; then
cd "${DIR}"
+ unset DIR
else
cd "${HOME}"
fi