41 lines
1,007 B
Bash
41 lines
1,007 B
Bash
|
||
HISTFILE=~/.histfile
|
||
HISTSIZE=100000
|
||
SAVEHIST=100000
|
||
setopt autocd extendedglob notify correct autonamedirs
|
||
setopt list_ambiguous autopushd pushd_ignore_dups
|
||
setopt hist_ignore_all_dups hist_ignore_space share_history
|
||
setopt no_auto_remove_slash auto_param_slash
|
||
setopt completeinword
|
||
setopt chase_links
|
||
setopt short_loops
|
||
setopt cdable_vars
|
||
|
||
# autoload completions
|
||
fpath+=( "${zcpath:-/etc/zsh}/compdef" )
|
||
autoload -U ${zcpath:-/etc/zsh}/compdef/*(:t)
|
||
|
||
bindkey -v
|
||
|
||
autoload -Uz compinit && compinit
|
||
autoload -Uz zmv
|
||
|
||
zmodload zsh/zftp
|
||
|
||
for i in ${zcpath:-/etc/zsh}/aliases/*~${zcpath:-/etc/zsh}/aliases/*.zwc; do
|
||
. $i
|
||
done
|
||
|
||
stty -ixon
|
||
|
||
. ${zcpath:-/etc/zsh}/modules/loader.zsh && mod_init
|
||
|
||
echo $PATH | grep -q 'local' || . /etc/zsh/zprofile
|
||
echo $PATH | grep -q 'sbin' || . /etc/zsh/zprofile
|
||
|
||
|
||
zstyle ':completion:*' verbose yes
|
||
zstyle ':completion:*:descriptions' format ‘%B%d%b’
|
||
zstyle ':completion:*:messages' format ‘%d’
|
||
zstyle ':completion:*:warnings' format ‘No matches for: %d’
|