mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-02 13:19:24 +00:00
Add zstyle to skip aliases for additional modules
This commit is contained in:
@ -38,8 +38,10 @@ unset _pmh_{hist{file,size},savehist}
|
||||
# Aliases
|
||||
#
|
||||
|
||||
# Lists the ten most used commands.
|
||||
alias history-stat="history 0 | awk '{print \$2}' | sort | uniq -c | sort -n -r | head"
|
||||
if ! zstyle -t ':prezto:module:history:alias' skip; then
|
||||
# Lists the ten most used commands.
|
||||
alias history-stat="history 0 | awk '{print \$2}' | sort | uniq -c | sort -n -r | head"
|
||||
fi
|
||||
|
||||
if [[ -s "${OLD_HISTFILE::=${HISTFILE:h}/.zhistory}" ]]; then
|
||||
|
||||
|
Reference in New Issue
Block a user