dotfiles/.zshrc

37 lines
980 B
Bash

# The following lines were added by compinstall
zstyle ':completion:*' completer _complete _ignored _approximate
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' matcher-list '' 'r:|[._-]=** r:|=**'
zstyle :compinstall filename '/home/x/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=300000
SAVEHIST=300000
setopt appendhistory notify
bindkey -v
bindkey -v '^?' backward-delete-char
bindkey -v '^H' backward-delete-char
#bindkey -v '^G' '\e'
# End of lines configured by zsh-newuser-install
autoload -z edit-command-line
zle -N edit-command-line
bindkey -M vicmd ' ' edit-command-line
PROMPT="$ "
export PATH="${PATH}:${HOME}/.local/bin"
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
#echo -ne "\033]0;$(basename `dirname $PWD`)/$(basename ${PWD})\007"
#chpwd() {
# echo -ne "\033]0;$(basename `dirname $PWD`)/$(basename ${PWD})\007"
#}