Cleanup zshrc
This commit is contained in:
parent
d0b52f1d4e
commit
3834271bb5
12
zshrc
12
zshrc
@ -8,10 +8,6 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
|
||||||
if [[ -n "$(command -v starship)" ]]; then
|
|
||||||
eval "$(starship init zsh)"
|
|
||||||
else
|
|
||||||
# Use powerline
|
# Use powerline
|
||||||
USE_POWERLINE="true"
|
USE_POWERLINE="true"
|
||||||
# Source manjaro-zsh-configuration
|
# Source manjaro-zsh-configuration
|
||||||
@ -23,6 +19,10 @@ else
|
|||||||
source /usr/share/zsh/manjaro-zsh-prompt
|
source /usr/share/zsh/manjaro-zsh-prompt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
|
if [[ -n "$(command -v starship)" ]]; then
|
||||||
|
eval "$(starship init zsh)"
|
||||||
|
else
|
||||||
if [[ -s ~/.p10k.zsh ]]; then
|
if [[ -s ~/.p10k.zsh ]]; then
|
||||||
source ~/.p10k.zsh
|
source ~/.p10k.zsh
|
||||||
fi
|
fi
|
||||||
@ -34,7 +34,7 @@ fi
|
|||||||
|
|
||||||
# Custom aliases
|
# Custom aliases
|
||||||
if [[ -s ~/.aliases ]]; then
|
if [[ -s ~/.aliases ]]; then
|
||||||
source ~/.aliases;
|
source ~/.aliases
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# NVM
|
# NVM
|
||||||
@ -47,5 +47,5 @@ fi
|
|||||||
|
|
||||||
# Source machine-specific setup
|
# Source machine-specific setup
|
||||||
if [[ -s ~/.zshrc.local ]]; then
|
if [[ -s ~/.zshrc.local ]]; then
|
||||||
source ~/.zshrc.local;
|
source ~/.zshrc.local
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user