X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=dotfiles_root%2Fbashrc;h=64ba97b689b0b6b3c40b33015ee3b60721a9449a;hb=0b189022dd1e67d1a5c1165da0e65c100ad9fe40;hp=3f4f8a3595443591526685ec511e37287f9d15ca;hpb=ad54d88e412ff91e677b12aa55fab6429debedf6;p=config diff --git a/dotfiles_root/bashrc b/dotfiles_root/bashrc index 3f4f8a3..64ba97b 100644 --- a/dotfiles_root/bashrc +++ b/dotfiles_root/bashrc @@ -3,6 +3,10 @@ # Fancy colors for ls. alias ls="ls --color=auto" +# Use vim as default editor for anything. +export VISUAL=vim +export EDITOR=$VISUAL + # Red prompt with time. PS1="\[\e[1;31m\][\\t \\u@\\h \\w]$\[\e[m\] " PS2="\[\e[1;31m\]>\[\e[m\] "