dotfiles/home/zshrc

36 lines
958 B
Bash
Raw Normal View History

2020-09-08 15:25:32 -04:00
# 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 "^[[A" history-beginning-search-backward-end
bindkey "^[[B" history-beginning-search-forward-end
export PROMPT='%B%F{63}[%F{68}%n@%m %F{white}%~%F{63}]$%b%f '
# aliases:
2021-08-23 19:17:06 -04:00
source ~/.aliases
2020-09-08 15:25:32 -04:00
# reload with .
alias .="source ~/.zshrc"
2021-08-05 16:37:38 -04:00
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
2020-09-08 15:25:32 -04:00
fi