diff --git a/vim/vimrc b/vim/vimrc index f1e37d2..a434c65 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -82,5 +82,5 @@ set hlsearch set laststatus=2 set t_Co=256 -" Automaticly reread a file, if file has changed " +"Automaticly reread a file, if file has changed" set autoread diff --git a/zsh/zshrc b/zsh/zshrc index 34c77fe..0a99c00 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -80,13 +80,14 @@ DIRSTACKSIZE=20 # Colored manpages man() { - env LESS_TERMCAP_mb=$'\E[30;43m' \ - LESS_TERMCAP_md=$'\E[01;38;5;74m' \ - LESS_TERMCAP_me=$'\E[0m' \ - LESS_TERMCAP_se=$'\E[0m' \ - LESS_TERMCAP_so=$'\E[38;5;246m' \ - LESS_TERMCAP_ue=$'\E[0m' \ - LESS_TERMCAP_us=$'\E[04;38;5;146m' \ + env \ + LESS_TERMCAP_mb=$(printf "\e[1;31m") \ + LESS_TERMCAP_md=$(printf "\e[1;31m") \ + LESS_TERMCAP_me=$(printf "\e[0m") \ + LESS_TERMCAP_se=$(printf "\e[0m") \ + LESS_TERMCAP_so=$(printf "\e[1;44;33m") \ + LESS_TERMCAP_ue=$(printf "\e[0m") \ + LESS_TERMCAP_us=$(printf "\e[1;32m") \ man "$@" } @@ -98,7 +99,7 @@ alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias diff='colordiff' alias ports='netstat -tulanp' -alias penis="cowsay -f head-in ahh ja so lässig" +alias cal='cal -m' setopt autopushd pushdsilent pushdtohome setopt pushdignoredups