1
0
Fork 0
mirror of synced 2024-11-18 05:55:34 -05:00

Fix eriner theme errors when git-info not enabled

as it was incorrectly testing for the `${+functions[git-info]}`.
This commit is contained in:
Eric Nielsen 2017-03-02 09:56:38 -05:00
parent 937e6bf727
commit 8c8a163905

View file

@ -15,7 +15,7 @@
# jobs are running in this shell will all be displayed automatically when
# appropriate.
#
# Uses the 'git-info' Zim module.
# Requires the `git-info` zmodule to be included in the .zimrc file.
### Segment drawing
# Utility functions to make it easy and re-usable to draw segmented prompts.
@ -90,7 +90,7 @@ prompt_eriner_main() {
}
prompt_eriner_precmd() {
[[ ${+functions[git-info]} ]] && git-info
(( ${+functions[git-info]} )) && git-info
}
prompt_eriner_setup() {