From d22f3a02d2a16efb8b96a18360cb3c18f0e35797 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 10 Jan 2014 00:06:53 +0100 Subject: zshrc: add more dirs to PATH Signed-off-by: Florian Pritz --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index df21372..dfa565b 100644 --- a/.zshrc +++ b/.zshrc @@ -7,6 +7,11 @@ ZDOTDIR="$HOME/.zsh" export LANG=en_US.UTF-8 +# add extra dirs to path. allows to separate script bundles into dirs +for _dir in $HOME/bin/extra/*(/N); do + export PATH=$_dir:$PATH +done + export PATH=$HOME/bin:$PATH if [[ -d $HOME/misc/scripts ]]; then export PATH=${HOME}/misc/scripts:${PATH} -- cgit v1.2.3-24-g4f1b