|
@@ -6,12 +6,12 @@
|
|
# but WITHOUT ANY WARRANTY
|
|
# 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
|
|
# define personal zsh config directory
|
|
export DOTZSHDIR="$HOME/.zsh.d"
|
|
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'
|
|
# overide insecure stuff with compinit while using 'sudo zsh'
|
|
# my functions (don't forget to modify fpath before call compinit !!)
|
|
# my functions (don't forget to modify fpath before call compinit !!)
|
|
if [ -z "$SUDO_USER" -a "$UID" != 0 ]; then
|
|
if [ -z "$SUDO_USER" -a "$UID" != 0 ]; then
|