From bea02f940ad3928234427a21154ac4d10afc147e Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Sun, 20 Mar 2016 12:02:04 +0100 Subject: Add a default chicken and user bin to PATH --- assets/zsh/zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'assets') diff --git a/assets/zsh/zshrc b/assets/zsh/zshrc index 970e271..5d73fba 100644 --- a/assets/zsh/zshrc +++ b/assets/zsh/zshrc @@ -49,3 +49,12 @@ eval "$(dircolors -b)" alias ls='ls --color=auto' EDITOR=vi + +if [ -d "/usr/local/chickens/default" ]; then + PATH="/usr/local/chickens/default/bin:$PATH" +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi -- cgit v1.2.3