Use submodules for zsh-git-prompt
This commit is contained in:
parent
e15431de37
commit
7e6665c7a6
3 changed files with 7 additions and 2 deletions
5
.zshrc
5
.zshrc
|
@ -12,7 +12,8 @@ if [[ $(uname) == "Darwin" ]]; then
|
|||
|
||||
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source $(brew --prefix)/opt/gitstatus/gitstatus.prompt.zsh
|
||||
|
||||
source ~/.config/zsh/plugins/zsh-git-prompt/zshrc.sh
|
||||
else
|
||||
export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
|
||||
|
||||
|
@ -39,7 +40,7 @@ ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
|||
# Prompt
|
||||
precmd() {
|
||||
PROMPT="[%c] "
|
||||
RPROMPT="$GITSTATUS_PROMPT"
|
||||
RPROMPT="$(git_super_status)"
|
||||
}
|
||||
# Added by serverless binary installer
|
||||
export PATH="$HOME/.serverless/bin:$PATH"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue