diff options
author | Peter Bex <peter@more-magic.net> | 2016-03-20 12:02:04 +0100 |
---|---|---|
committer | Peter Bex <peter@more-magic.net> | 2016-03-20 12:02:04 +0100 |
commit | bea02f940ad3928234427a21154ac4d10afc147e (patch) | |
tree | 843972ad0df360452bd6ca1eb35982dc58d4bd32 /assets/zsh/zshrc | |
parent | e78d5ae792397e49fbb3cd41911f0d576fe901a0 (diff) | |
download | vps-builder-bea02f940ad3928234427a21154ac4d10afc147e.tar.gz |
Add a default chicken and user bin to PATH
Diffstat (limited to 'assets/zsh/zshrc')
-rw-r--r-- | assets/zsh/zshrc | 9 |
1 files changed, 9 insertions, 0 deletions
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 |