Ansible_workstation/files/dotfiles/zshrc.local

46 lines
1.0 KiB
Plaintext

# Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory nomatch
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/lafrite/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Autocompletion insensitive to case
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=245"
# automatic color scheme with pywall
# Vim keybindings
bindkey -v
# substring search
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
# fzf
source /usr/share/fzf/key-bindings.zsh
source /usr/share/fzf/completion.zsh
# fzf-z
export FZFZ_EXTRA_DIRS="/media/documents/"
# Alias
alias notes="vim -c Note"
# taskwarrior alias
alias in="task add +in"
export EDITOR="vim"
# auto_ls pluting
export AUTO_LS_COMMANDS=(ls git-status)