Moved DIR inside of if so it will only be set when running bash.
This commit is contained in:
parent
0b08940a0e
commit
896bee5d87
@ -1,6 +1,6 @@
|
|||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
||||||
|
|
||||||
if [ -n "${BASH_VERSION}" ]; then
|
if [ -n "${BASH_VERSION}" ]; then
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
# Symbols
|
# Symbols
|
||||||
: ${is_a_git_repo_symbol:='❤'}
|
: ${is_a_git_repo_symbol:='❤'}
|
||||||
: ${has_untracked_files_symbol:='∿'}
|
: ${has_untracked_files_symbol:='∿'}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user