summaryrefslogtreecommitdiff
path: root/assets/zsh
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2016-03-20 12:02:04 +0100
committerPeter Bex <peter@more-magic.net>2016-03-20 12:02:04 +0100
commitbea02f940ad3928234427a21154ac4d10afc147e (patch)
tree843972ad0df360452bd6ca1eb35982dc58d4bd32 /assets/zsh
parente78d5ae792397e49fbb3cd41911f0d576fe901a0 (diff)
downloadvps-builder-bea02f940ad3928234427a21154ac4d10afc147e.tar.gz
Add a default chicken and user bin to PATH
Diffstat (limited to 'assets/zsh')
-rw-r--r--assets/zsh/zshrc9
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