home · contact · privacy
Export vim as default shell editor.
[config] / dotfiles_user_server / bashrc
index 2f21e2711618463d2b95550c68d543b2f06fe995..2409091eca0fa65110ca420b5a7d3e59b858a0a2 100644 (file)
@@ -3,6 +3,13 @@
 # Fancy colors for ls.
 alias ls="ls --color=auto"
 
+# Use vim as default editor for anything.
+export VISUAL=vim
+export EDITOR=$VISUAL
+
+# Wrapper for weechat to force local config file on it anew on each run.
+alias weechat="~/config/bin/weechat-wrapper.sh"
+
 # Blue prompt with time.
 PS1="\[\e[1;34m\][\\t \\u@\\h \\w]$\[\e[m\] "
 PS2="\[\e[1;34m\]>\[\e[m\] "