From: Nick Bowler Date: Sun, 31 Jan 2010 18:40:31 +0000 (-0500) Subject: zprofile: Use PATH for default EDITOR/PAGER values. X-Git-Url: https://git.draconx.ca/gitweb/zshconf.git/commitdiff_plain/00cbf06a241b84b265104bfb5262db994339b32e zprofile: Use PATH for default EDITOR/PAGER values. --- diff --git a/zprofile b/zprofile index bb36fae..a0001c4 100644 --- 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