home · contact · privacy
Add to dotfiles bashrc / bash_profile.
[config] / dotfiles / bashrc
1 # plomlompom's bashrc for non-login shells
2
3 # Environment variables.
4 export PATH=~/.bin:$PATH
5 export EDITOR=vi
6
7 # Fancy colors for ls.
8 alias ls="ls --color=auto"
9
10 # Force these programs to use re-located config files or wrappers.
11 # Notice that msmtp does not understand ~ as the home dir, only $HOME.
12 alias irssi="irssi --home ~/.config/irssi"
13 alias getmail="getmail --getmaildir=~/.config/getmail"
14 alias msmtp="msmtp --file=$HOME/.config/msmtp/msmtprc"
15 alias mutt="mutt_msmtp_loop"
16
17 # Blue prompt with time.
18 PS1="\[\e[1;34m\][\\t \\u@\\h \\w]$\[\e[m\] "
19 PS2="\[\e[1;34m\]>\[\e[m\] "
20 PS3="\[\e[1;34m\]>\[\e[m\] "
21 PS4="\[\e[1;34m\]+\[\e[m\] "
22
23 # Keep gnome-keyring-manager away from making trouble.
24 unset GNOME_KEYRING_CONTROL