dotfiles/home/zshrc

36 lines
1.0 KiB
Bash
Raw Normal View History

2020-09-08 16:25:32 -03: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
2022-03-12 14:49:08 -03:00
bindkey "^[OA" history-beginning-search-backward-end
bindkey "^[OB" history-beginning-search-forward-end
2020-09-08 16:25:32 -03:00
bindkey "^[[A" history-beginning-search-backward-end
bindkey "^[[B" history-beginning-search-forward-end
2023-03-16 10:12:44 +01:00
export PROMPT='%B%F{4}[%F{20}%n@%m %F{124}%~%F{4}]$%b%f '
2022-04-10 15:45:24 -03:00
export LS_COLORS='di=1;94:ex=4;92:ln=3;96'
2020-09-08 16:25:32 -03:00
# aliases:
2021-08-23 20:17:06 -03:00
source ~/.aliases
2020-09-08 16:25:32 -03:00
2021-08-05 17:37:38 -03:00
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
2020-09-08 16:25:32 -03:00
fi