48 lines
1.5 KiB
Bash
48 lines
1.5 KiB
Bash
# The following lines were added by compinstall
|
|
|
|
zstyle ':completion:*' completer _complete _ignored
|
|
zstyle :compinstall filename '~/.zshrc'
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
HISTFILE=~/.zsh_history
|
|
HISTSIZE=5000000
|
|
SAVEHIST=5000000
|
|
setopt appendhistory beep nomatch notify autocd histignoredups
|
|
|
|
bindkey -e
|
|
|
|
# Arrows in the Completition menu
|
|
zstyle ':completion:*' menu select
|
|
|
|
# colors
|
|
autoload -U colors && colors
|
|
|
|
# Load with prompt
|
|
autoload -U promptinit
|
|
promptinit
|
|
|
|
PROMPT="%{$fg_no_bold[blue]%}%n%{$reset_color%}%{$fg_no_bold[red]%}%#%{$reset_color%}%{$fg_no_bold[blue]%}%m%{$reset_color%}%{$fg_no_bold[green]%}%~:%{$fg_no_bold[yellow]%}%?%{$fg_no_bold[green]%}$ %{$reset_color%}"
|
|
RPROMPT="%{$fg_no_bold[green]%}%~%{$reset_color%} [%{$fg_no_bold[yellow]%}%*%{$reset_color%}]"
|
|
|
|
# Bashish navigation
|
|
autoload -U select-word-style
|
|
select-word-style bash
|
|
|
|
# Show cwd in titlebar
|
|
precmd() {
|
|
tab_label=${PWD/${HOME}/\~}
|
|
echo -ne "\e]2;${HOST}:${tab_label}\a"
|
|
}
|
|
|
|
# Report CPU usage for commands running longer than 1 second
|
|
REPORTTIME=1
|
|
|
|
# . ~/.profile
|
|
|
|
# perl stuff
|
|
PATH="/home/fnedoluha/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
|
PERL5LIB="/home/fnedoluha/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
|
PERL_LOCAL_LIB_ROOT="/home/fnedoluha/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
|
PERL_MB_OPT="--install_base \"/home/fnedoluha/perl5\""; export PERL_MB_OPT;
|
|
PERL_MM_OPT="INSTALL_BASE=/home/fnedoluha/perl5"; export PERL_MM_OPT;
|