Compare commits
2 Commits
e15431de37
...
eadd69b0c6
Author | SHA1 | Date | |
---|---|---|---|
eadd69b0c6 | |||
7e6665c7a6 |
1
.config/zsh/plugins/zsh-git-prompt
Submodule
1
.config/zsh/plugins/zsh-git-prompt
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 2701e8ac3192f198fcaffbc2914d8e145589eb23
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -0,0 +1,3 @@
|
|||||||
|
[submodule ".config/zsh/plugins/zsh-git-prompt"]
|
||||||
|
path = .config/zsh/plugins/zsh-git-prompt
|
||||||
|
url = https://github.com/zsh-git-prompt/zsh-git-prompt.git
|
8
.zshrc
8
.zshrc
@ -12,7 +12,7 @@ if [[ $(uname) == "Darwin" ]]; then
|
|||||||
|
|
||||||
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
source $(brew --prefix)/opt/gitstatus/gitstatus.prompt.zsh
|
|
||||||
else
|
else
|
||||||
export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
|
export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
|
||||||
|
|
||||||
@ -20,10 +20,14 @@ else
|
|||||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Config
|
||||||
export CONFIGDIR="${HOME}/.config"
|
export CONFIGDIR="${HOME}/.config"
|
||||||
export XDG_CONFIG_HOME=$CONFIGDIR
|
export XDG_CONFIG_HOME=$CONFIGDIR
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|
||||||
|
# Plugins
|
||||||
|
source "$CONFIGDIR/zsh/plugins/zsh-git-prompt/zshrc.sh"
|
||||||
|
|
||||||
# Use NVIM
|
# Use NVIM
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
|
|
||||||
@ -39,7 +43,7 @@ ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
|||||||
# Prompt
|
# Prompt
|
||||||
precmd() {
|
precmd() {
|
||||||
PROMPT="[%c] "
|
PROMPT="[%c] "
|
||||||
RPROMPT="$GITSTATUS_PROMPT"
|
RPROMPT="$(git_super_status)"
|
||||||
}
|
}
|
||||||
# Added by serverless binary installer
|
# Added by serverless binary installer
|
||||||
export PATH="$HOME/.serverless/bin:$PATH"
|
export PATH="$HOME/.serverless/bin:$PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user