load linuxbrew if exists, remove installing zsh

This commit is contained in:
Inhji 2019-08-30 08:40:54 +02:00
parent 77c76a2605
commit 027166b3cb
2 changed files with 7 additions and 4 deletions

View File

@ -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 )

View File

@ -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]