|
@@ -6,12 +6,12 @@
|
|
|
# but WITHOUT ANY WARRANTY
|
|
|
#
|
|
|
|
|
|
-# redefine PATH
|
|
|
-export PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/games
|
|
|
-
|
|
|
# define personal zsh config directory
|
|
|
export DOTZSHDIR="$HOME/.zsh.d"
|
|
|
|
|
|
+# redefine PATH
|
|
|
+export PATH=$HOME/bin:$DOTZSHDIR/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/games
|
|
|
+
|
|
|
# overide insecure stuff with compinit while using 'sudo zsh'
|
|
|
# my functions (don't forget to modify fpath before call compinit !!)
|
|
|
if [ -z "$SUDO_USER" -a "$UID" != 0 ]; then
|