load linuxbrew if exists, remove installing zsh
This commit is contained in:
parent
77c76a2605
commit
027166b3cb
10
config/zshrc
10
config/zshrc
|
@ -12,6 +12,10 @@ if [[ -d $HOME/.cargo ]]; then
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -d /home/linuxbrew ]]; then
|
||||||
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
|
fi
|
||||||
|
|
||||||
fpath=("$HOME/.zfunctions" $fpath)
|
fpath=("$HOME/.zfunctions" $fpath)
|
||||||
|
|
||||||
autoload -U promptinit; promptinit
|
autoload -U promptinit; promptinit
|
||||||
|
@ -24,9 +28,9 @@ prompt pure
|
||||||
# Load z
|
# Load z
|
||||||
. $DOTFILES/z/z.sh
|
. $DOTFILES/z/z.sh
|
||||||
|
|
||||||
# Load dircolors
|
|
||||||
eval $( dircolors -b $DOTFILES/config/zsh/dircolors.zsh )
|
|
||||||
|
|
||||||
# Load aliases
|
# Load aliases
|
||||||
. $DOTFILES/config/zsh/aliases.zsh
|
. $DOTFILES/config/zsh/aliases.zsh
|
||||||
|
|
||||||
|
# Load dircolors
|
||||||
|
eval $( dircolors -b $DOTFILES/config/zsh/dircolors.zsh )
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
- shell:
|
- shell:
|
||||||
- [sudo apt install zsh -y, Installing base packages]
|
|
||||||
- [git submodule update --init --recursive, Updating submodules]
|
- [git submodule update --init --recursive, Updating submodules]
|
||||||
- [mkdir -p $HOME/.zfunctions, Creating zfunctions directory]
|
- [mkdir -p $HOME/.zfunctions, Creating zfunctions directory]
|
||||||
- [mkdir -p $HOME/.ssh, Creating SSH directory]
|
- [mkdir -p $HOME/.ssh, Creating SSH directory]
|
||||||
|
|
Loading…
Reference in New Issue