mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Update plugins/git:
- move aliases into plugins/git/git-aliases.plugin.zsh - move git prompt info into plugins/git/git-prompt-old.plugin.zsh - add revamped git prompt info into plugins/git/git-prompt.plugin.zsh - plugins/git/git.plugin.zsh now just sources the above files Added themes/ashleydev.theme.zsh that takes advantage of the new git prompt info
This commit is contained in:
parent
d1088b2860
commit
fcbca579ae
5 changed files with 96 additions and 76 deletions
|
|
@ -109,7 +109,7 @@ update__GIT_PROMPT_INFO ()
|
|||
r="$_Cr_$r$R"
|
||||
fi
|
||||
|
||||
local _prompt="$b$r$s$i$p"
|
||||
local _prompt="$b$r$i$s$p"
|
||||
# add ( ) around _prompt:
|
||||
if [ "$f" = 'yes' ]; then
|
||||
_prompt="($_prompt)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue