From 027166b3cb0906cb3d7a1c1d5733d27b7e98b0e5 Mon Sep 17 00:00:00 2001 From: Inhji Date: Fri, 30 Aug 2019 08:40:54 +0200 Subject: [PATCH] load linuxbrew if exists, remove installing zsh --- config/zshrc | 10 +++++++--- install.conf.yaml | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config/zshrc b/config/zshrc index 4cc90fd..d2ec8b4 100644 --- a/config/zshrc +++ b/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 ) + diff --git a/install.conf.yaml b/install.conf.yaml index 2ef40f8..bf8a48c 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -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]