diff options
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/.zshrc | 4 | ||||
-rw-r--r-- | .config/zsh/alias.zsh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 4e9260a..a70c794 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -32,9 +32,11 @@ zle -N history-beginning-search-forward-end history-search-end setopt inc_append_history setopt share_history -autoload -U compinit +zstyle ':completion:*' completer _complete +zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' '+l:|=* r:|=*' zstyle ':completion:*' menu select zstyle ':completion:*' list-colors 'di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30' +autoload -U compinit zmodload zsh/complist compinit _comp_options+=(globdots) diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 25f8fb2..aecf6cc 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -30,6 +30,7 @@ alias mkdir='mkdir -v' alias rmdir='rmdir -v' alias chmod='chmod -v' alias chown='chown -v' +alias mount='mount -v' alias grep='grep --color' alias diff='colordiff' alias tree='tree -C' @@ -58,6 +59,7 @@ alias mutt='neomutt' alias nmt='neomutt' alias sxiv='sxiv -b' alias pinfo='pkg info -x' +alias psearch='pkg search' search() { make -C /usr/ports search name=$1 | grep 'Path:'; } |