1
0
Fork 0
mirror of synced 2024-11-22 23:35:35 -05:00

Removed backticks (again)

This commit is contained in:
AtomicCoding 2018-03-29 17:46:55 -07:00
parent 4fe3dca589
commit 5759379e67

View file

@ -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