Removed backticks (again)
This commit is contained in:
parent
4fe3dca589
commit
5759379e67
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ function prompt_sorin_precmd {
|
||||||
if (( $+functions[git-dir] )); then
|
if (( $+functions[git-dir] )); then
|
||||||
local new_git_root="$(git-dir 2> /dev/null)"
|
local new_git_root="$(git-dir 2> /dev/null)"
|
||||||
if [[ $new_git_root != $_sorin_cur_git_root ]]; then
|
if [[ $new_git_root != $_sorin_cur_git_root ]]; then
|
||||||
_prompt_sorin_git=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'`
|
_prompt_sorin_git$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/')
|
||||||
_sorin_cur_git_root=$new_git_root
|
_sorin_cur_git_root=$new_git_root
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue