summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6dc6325)
Moved to new section "Function settings" at the beginning of rc.
+# FUNCTION SETTINGS
+
+# Set correct fpath to allow loading my functions (including completion
+# functions).
+fpath=(~/.zsh/functions $fpath)
+# Autoload my functions (except completion functions and hidden files). Thanks
+# to caphuso from the Zsh example files for this idea.
+autoload ${fpath[1]}/^_*(:t)
+
+
# HISTORY SETTINGS
# Use history and store it in ~/.zsh/history.
# HISTORY SETTINGS
# Use history and store it in ~/.zsh/history.
zstyle ':completion:*:(hg|git)*:*' ignore-line yes
zstyle ':completion:*:(hg|git)*:*' ignore-line yes
-# ALIAS AND FUNCTION SETTINGS
+# CUSTOM ALIASES AND FUNCTIONS
# Simplify calls to less, automatically redirects all output.
alias -g L='2>&1 | less'
# Simplify calls to less, automatically redirects all output.
alias -g L='2>&1 | less'
-# Set correct fpath to allow loading my functions (including completion
-# functions).
-fpath=(~/.zsh/functions $fpath)
-# Autoload my functions (except completion functions and hidden files). Thanks
-# to caphuso from the Zsh example files for this idea.
-autoload ${fpath[1]}/^_*(:t)
-
# If ^C is pressed while typing a command, add it to the history so it can be
# easily retrieved later and then abort like ^C normally does. This is useful
# when I want to abort an command to do something in between and then finish
# If ^C is pressed while typing a command, add it to the history so it can be
# easily retrieved later and then abort like ^C normally does. This is useful
# when I want to abort an command to do something in between and then finish