Exit directory upon completion, update tests

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
This commit is contained in:
Mike Fiedler
2017-09-30 20:06:42 -04:00
parent 47041bc817
commit 8015bba27f
2 changed files with 8 additions and 6 deletions

View File

@@ -241,6 +241,8 @@ _bash-it-version() {
CURRENT_GIT_SHA=$(git rev-parse --verify HEAD)
echo "https://github.com/Bash-it/bash-it/commit/$CURRENT_GIT_SHA"
cd - &> /dev/null || return
}
_bash-it-describe ()