Moved DIR inside of if so it will only be set when running bash.

This commit is contained in:
Joakim Olsson 2013-11-16 08:33:48 +01:00
parent 0b08940a0e
commit 896bee5d87

View File

@ -1,6 +1,6 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ -n "${BASH_VERSION}" ]; then
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Symbols
: ${is_a_git_repo_symbol:='❤'}
: ${has_untracked_files_symbol:='∿'}