|
@@ -1,23 +1,15 @@
|
|
|
-#
|
|
|
|
|
-# Editors
|
|
|
|
|
-#
|
|
|
|
|
-
|
|
|
|
|
|
|
+# setup editors/viewers
|
|
|
export EDITOR='nvim'
|
|
export EDITOR='nvim'
|
|
|
export VISUAL='nvim'
|
|
export VISUAL='nvim'
|
|
|
export PAGER='less'
|
|
export PAGER='less'
|
|
|
|
|
|
|
|
-#
|
|
|
|
|
-# Language
|
|
|
|
|
-#
|
|
|
|
|
|
|
+# let zsh find the history
|
|
|
|
|
+export HISTFILE=$HOME/.zhistory
|
|
|
|
|
|
|
|
if [[ -z "$LANG" ]]; then
|
|
if [[ -z "$LANG" ]]; then
|
|
|
export LANG='en_US.UTF-8'
|
|
export LANG='en_US.UTF-8'
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
-#
|
|
|
|
|
-# Paths
|
|
|
|
|
-#
|
|
|
|
|
-
|
|
|
|
|
# Ensure path arrays do not contain duplicates.
|
|
# Ensure path arrays do not contain duplicates.
|
|
|
typeset -gU cdpath fpath mailpath path
|
|
typeset -gU cdpath fpath mailpath path
|
|
|
|
|
|
|
@@ -28,10 +20,6 @@ path=(
|
|
|
$path
|
|
$path
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
-#
|
|
|
|
|
-# Less
|
|
|
|
|
-#
|
|
|
|
|
-
|
|
|
|
|
# Set the default Less options.
|
|
# Set the default Less options.
|
|
|
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
|
|
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
|
|
|
# Remove -X and -F (exit if the content fits on one screen) to enable it.
|
|
# Remove -X and -F (exit if the content fits on one screen) to enable it.
|