summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 37818b1..9040df4 100644
--- a/.zshrc
+++ b/.zshrc
@@ -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