]> git.draconx.ca Git - zshconf.git/commitdiff
zprofile: Use PATH for default EDITOR/PAGER values.
authorNick Bowler <nbowler@draconx.ca>
Sun, 31 Jan 2010 18:40:31 +0000 (13:40 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 31 Jan 2010 21:49:42 +0000 (16:49 -0500)
zprofile

index bb36faebd127e49554067b98647eba8601ae0ca4..a0001c488bb2b42566477d142e8b8dd8507b7949 100644 (file)
--- a/zprofile
+++ b/zprofile
@@ -4,14 +4,14 @@ if [[ -e /etc/profile.env ]]; then
        source /etc/profile.env
 fi
 
-# Default user settings
-export EDITOR=${EDITOR:-/usr/bin/vim}
-export PAGER=${PAGER:-/usr/bin/less}
-umask 022
-
 # Default path
 path_front /{bin,sbin} /usr/{bin,sbin} /usr/local/{bin,sbin} $HOME/bin
 
+# Default user settings
+export EDITOR=${EDITOR:-=vim}
+export PAGER=${PAGER:-=less}
+umask 022
+
 shopts=$-
 setopt nullglob