diff options
author | Florian Pritz <bluewind@xssn.at> | 2011-12-31 00:11:35 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2011-12-31 00:13:41 +0100 |
commit | 8e0aa077498f1c8880133ba59dc51bdd18b02cb5 (patch) | |
tree | 021cf08e3adb69580b83b75d573b322fde77f8b8 /.zshrc | |
parent | 42dc1cc758296315b6d219fa8edcc8120e102127 (diff) | |
download | dotfiles-8e0aa077498f1c8880133ba59dc51bdd18b02cb5.tar.gz dotfiles-8e0aa077498f1c8880133ba59dc51bdd18b02cb5.tar.xz |
only add ~/misc/scripts to path if it exists
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,10 +9,14 @@ stty -echo ZDOTDIR="$HOME/.zsh" export PATH=$HOME/bin:$PATH +if [[ -d $HOME/misc/scripts ]]; then + export PATH=${HOME}/misc/scripts:${PATH} +fi if [ $UID -eq 0 ]; then export PATH=/root/bin:$PATH fi + # Colors {{{ #use these in functions/shell scripts export NC='\e[0m' @@ -179,7 +183,6 @@ bindkey ",," globalias # Variables {{{ #export CDPATH=.:$HOME export OOO_FORCE_DESKTOP=gnome -export PATH=${HOME}/misc/scripts:${PATH} export EDITOR=vim export VISUAL=$EDITOR export PAGER=less |