home · contact · privacy
Export vim as default shell editor.
[config] / dotfiles_user_server / 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 # Wrapper for weechat to force local config file on it anew on each run.
11 alias weechat="~/config/bin/weechat-wrapper.sh"
12
13 # Blue prompt with time.
14 PS1="\[\e[1;34m\][\\t \\u@\\h \\w]$\[\e[m\] "
15 PS2="\[\e[1;34m\]>\[\e[m\] "
16 PS3="\[\e[1;34m\]>\[\e[m\] "
17 PS4="\[\e[1;34m\]+\[\e[m\] "