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