home · contact · privacy
Export vim as default shell editor.
[config] / dotfiles_user_thinkpad / bashrc
1 # plomlompom's bashrc for non-login shells
2
3 # Fancy colors for ls.
4 alias ls="ls --color=auto"
5
6 # Use vim as default editor for anything.
7 export VISUAL=vim
8 export EDITOR=$VISUAL
9
10 # Blue prompt with time.
11 PS1="\[\e[1;32m\][\\t \\u@\\h \\w]$\[\e[m\] "
12 PS2="\[\e[1;32m\]>\[\e[m\] "
13 PS3="\[\e[1;32m\]>\[\e[m\] "
14 PS4="\[\e[1;32m\]+\[\e[m\] "