dotfiles/.zshrc

42 lines
1.4 KiB
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=30000
SAVEHIST=30000
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
#PATH="/home/x/.local/bin:/home/x/perl5/bin${PATH:+:${PATH}}"; export PATH;
#PERL5LIB="/home/x/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
#PERL_LOCAL_LIB_ROOT="/home/x/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
#PERL_MB_OPT="--install_base \"/home/x/perl5\""; export PERL_MB_OPT;
#PERL_MM_OPT="INSTALL_BASE=/home/x/perl5"; export PERL_MM_OPT;
#
#export VISUAL=vim
#export EDITOR=vim
#export SCIPY_PIL_IMAGE_VIEWER=imv
#export CHKTEXRC=~
#export SAGE_BROWSER=/usr/bin/firefox
autoload -z edit-command-line
zle -N edit-command-line
bindkey -M vicmd ' ' edit-command-line
#echo -ne "\033]0;$(basename `dirname $PWD`)/$(basename ${PWD})\007"
#chpwd() {
# echo -ne "\033]0;$(basename `dirname $PWD`)/$(basename ${PWD})\007"
#}