bashish navigation

This commit is contained in:
finga 2016-02-23 22:53:18 +01:00
parent 782ea576f7
commit 560d272d4d

6
.zshrc
View file

@ -28,6 +28,10 @@ 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}/\~}
@ -40,4 +44,4 @@ REPORTTIME=1
alias ../..='cd ../..'
alias ../../..='cd ../../..'
. ~/.autoload
. ~/.profile