Cleanup zshrc
This commit is contained in:
parent
d0b52f1d4e
commit
3834271bb5
26
zshrc
26
zshrc
@ -8,21 +8,21 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# Use powerline
|
||||
USE_POWERLINE="true"
|
||||
# Source manjaro-zsh-configuration
|
||||
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
|
||||
source /usr/share/zsh/manjaro-zsh-config
|
||||
fi
|
||||
# Use manjaro zsh prompt
|
||||
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
|
||||
source /usr/share/zsh/manjaro-zsh-prompt
|
||||
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="true"
|
||||
# Source manjaro-zsh-configuration
|
||||
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
|
||||
source /usr/share/zsh/manjaro-zsh-config
|
||||
fi
|
||||
# Use manjaro zsh prompt
|
||||
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
|
||||
source /usr/share/zsh/manjaro-zsh-prompt
|
||||
fi
|
||||
|
||||
if [[ -s ~/.p10k.zsh ]]; then
|
||||
source ~/.p10k.zsh
|
||||
fi
|
||||
@ -34,7 +34,7 @@ fi
|
||||
|
||||
# Custom aliases
|
||||
if [[ -s ~/.aliases ]]; then
|
||||
source ~/.aliases;
|
||||
source ~/.aliases
|
||||
fi
|
||||
|
||||
# NVM
|
||||
@ -47,5 +47,5 @@ fi
|
||||
|
||||
# Source machine-specific setup
|
||||
if [[ -s ~/.zshrc.local ]]; then
|
||||
source ~/.zshrc.local;
|
||||
source ~/.zshrc.local
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user