summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-11-30 05:40:02 -0800
committerRobby Russell <robby@planetargon.com>2012-11-30 05:40:02 -0800
commit8a2314edee37c3af1bb6aab14fc211663fd0ce65 (patch)
tree1ea11e8f25db21fd965bc16d7767f115f3d44179 /themes
parent067178d877c2dc1dae84d60d370cf68f24cbd141 (diff)
parent5c983257726dfc8ac97d5a5e259dcaa9540b808b (diff)
downloadzsh-8a2314edee37c3af1bb6aab14fc211663fd0ce65.tar.gz
zsh-8a2314edee37c3af1bb6aab14fc211663fd0ce65.tar.bz2
zsh-8a2314edee37c3af1bb6aab14fc211663fd0ce65.zip
Merge pull request #1437 from Partyschaum/master
Some fixes for the agnoster theme / Fixed autocompletion for autojump with homebrew
Diffstat (limited to 'themes')
-rw-r--r--themes/agnoster.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
index 2e390640c..bd6f1a6a2 100644
--- a/themes/agnoster.zsh-theme
+++ b/themes/agnoster.zsh-theme
@@ -73,7 +73,7 @@ prompt_git() {
if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then
ZSH_THEME_GIT_PROMPT_DIRTY='±'
dirty=$(parse_git_dirty)
- ref=$(git symbolic-Fref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)"
+ ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)"
if [[ -n $dirty ]]; then
prompt_segment yellow black
else
@@ -112,4 +112,4 @@ build_prompt() {
prompt_end
}
-PROMPT='%{%f%b%k%}$(build_prompt) ' \ No newline at end of file
+PROMPT='%{%f%b%k%}$(build_prompt) '