Updated zshrc for anyenv
This commit is contained in:
parent
ddac3fc65c
commit
227e24a494
1 changed files with 7 additions and 4 deletions
11
zsh/zshrc
11
zsh/zshrc
|
@ -50,6 +50,7 @@ antigen theme https://github.com/denysdovhan/spaceship-prompt spaceship
|
||||||
|
|
||||||
antigen apply
|
antigen apply
|
||||||
alias 'onedrive-journal'="journalctl --user-unit onedrive -f"
|
alias 'onedrive-journal'="journalctl --user-unit onedrive -f"
|
||||||
|
alias exa="exa -l --git"
|
||||||
|
|
||||||
eval $(thefuck --alias oops)
|
eval $(thefuck --alias oops)
|
||||||
# pip 10.0.1 zsh completion start
|
# pip 10.0.1 zsh completion start
|
||||||
|
@ -64,10 +65,12 @@ function _pip_completion {
|
||||||
compctl -K _pip_completion pip
|
compctl -K _pip_completion pip
|
||||||
# pip zsh completion end
|
# pip zsh completion end
|
||||||
|
|
||||||
if [[ -a $HOME/.zshenv ]]; then
|
if [[ -a $HOME/.zshsrc ]]; then
|
||||||
source $HOME/.zshenv
|
source $HOME/.zshsrc
|
||||||
else
|
else
|
||||||
printf "No zshenv\nOne has been created"
|
printf "No zshsrc\nOne has been created"
|
||||||
touch $HOME/.zshenv
|
touch $HOME/.zshsrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export PATH="$HOME/.anyenv/bin:$PATH"
|
||||||
|
eval "$(anyenv init -)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue