38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# The following lines were added by compinstall
|
|
|
|
zstyle ':completion:*' completer _complete _ignored
|
|
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:]}={[:upper:]}'
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
# End of lines added by compinstall
|
|
# Lines configured by zsh-newuser-install
|
|
HISTFILE=~/.histfile
|
|
HISTSIZE=1000
|
|
SAVEHIST=1000
|
|
setopt autocd
|
|
unsetopt beep
|
|
bindkey -v
|
|
#autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
|
|
|
|
autoload -U history-search-end
|
|
zle -N history-beginning-search-backward-end history-search-end
|
|
zle -N history-beginning-search-forward-end history-search-end
|
|
bindkey "^[OA" history-beginning-search-backward-end
|
|
bindkey "^[OB" history-beginning-search-forward-end
|
|
bindkey "^[[A" history-beginning-search-backward-end
|
|
bindkey "^[[B" history-beginning-search-forward-end
|
|
|
|
autoload -U promptinit
|
|
promptinit
|
|
|
|
export PROMPT="%F{9}[%F{11}%n@%F{11}%m %F{15}%~%F{9}]$%b%f "
|
|
export RPROMPT="%T"
|
|
|
|
# aliases:
|
|
source ~/.aliases
|
|
|
|
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
|
exec startx
|
|
fi
|