8a2314edee37c3af1bb6aab14fc211663fd0ce65
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #1437 from Partyschaum/master
Some fixes for the agnoster theme / Fixed autocompletion for autojump with homebrew
Diff
1diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
2index 2e390640cfd69fc71ac4b3db712bc64af608abf6..bd6f1a6a21ccea183b84aaf6c845aef1527945b9 100644
3--- a/themes/agnoster.zsh-theme
4+++ b/themes/agnoster.zsh-theme
5@@ -73,7 +73,7 @@ prompt_git() {
6 if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then
7 ZSH_THEME_GIT_PROMPT_DIRTY='±'
8 dirty=$(parse_git_dirty)
9- ref=$(git symbolic-Fref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)"
10+ ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)"
11 if [[ -n $dirty ]]; then
12 prompt_segment yellow black
13 else
14@@ -112,4 +112,4 @@ build_prompt() {
15 prompt_end
16 }
17
18-PROMPT='%{%f%b%k%}$(build_prompt) '
19+PROMPT='%{%f%b%k%}$(build_prompt) '