39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
HISTFILE=~/.histfile
|
|
HISTSIZE=1000
|
|
SAVEHIST=1000
|
|
# setopt BANG_HIST
|
|
setopt EXTENDED_HISTORY
|
|
# setopt HIST_EXPIRE_DUPS_FIRST
|
|
# setopt HIST_IGNORE_DUPS
|
|
# setopt HIST_FIND_NO_DUPS
|
|
# setopt HIST_IGNORE_ALL_DUPS
|
|
# setopt HIST_IGNORE_SPACE
|
|
# setopt HIST_SAVE_NO_DUPS
|
|
# setopt HIST_VERIFY
|
|
# setopt SHARE_HISTORY
|
|
|
|
# Navigation
|
|
setopt AUTO_CD
|
|
setopt AUTO_PUSHD
|
|
setopt CDABLE_VARS
|
|
setopt PUSHD_IGNORE_DUPS
|
|
setopt PUSHD_SILENT
|
|
|
|
# Completion
|
|
setopt AUTO_LIST # Automatically list choices on ambiguous completion.
|
|
# setopt CORRECT # Turn on spelling correction for command.
|
|
setopt COMPLETE_IN_WORD # Complete from both ends of a word.
|
|
setopt GLOB_COMPLETE # Show autocompletion menu with globs
|
|
setopt MENU_COMPLETE # Automatically highlight first element of completion menu
|
|
|
|
zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
|
|
zstyle ':completion:*:warnings' format '%F{cyan}%BSorry, no matches for: %d%b%f'
|
|
zstyle ':completion:*' rehash true
|
|
zstyle ':completion:*' use-cache on
|
|
|
|
setopt autocd beep extendedglob notify
|
|
|
|
zstyle ':completion:*' group-name ''
|
|
zstyle :compinstall filename '/home/aleidk/.zshrc'
|
|
|
|
setopt GLOB_DOTS
|