From: Christian Heller Date: Sun, 3 May 2015 02:18:08 +0000 (+0200) Subject: Add to dotfiles bashrc / bash_profile. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Byoutube_prefix%7D%7D%7B%7Bvideo_data.id_%7D%7D?a=commitdiff_plain;h=a545dc9a1032352f7828b59f5951fc4238c20059;p=config Add to dotfiles bashrc / bash_profile. --- diff --git a/dotfiles/bash_profile b/dotfiles/bash_profile new file mode 100644 index 0000000..17d538c --- /dev/null +++ b/dotfiles/bash_profile @@ -0,0 +1,3 @@ +# initialization for login shells + +source ~/.bashrc diff --git a/dotfiles/bashrc b/dotfiles/bashrc new file mode 100644 index 0000000..2f1dc8d --- /dev/null +++ b/dotfiles/bashrc @@ -0,0 +1,24 @@ +# plomlompom's bashrc for non-login shells + +# Environment variables. +export PATH=~/.bin:$PATH +export EDITOR=vi + +# Fancy colors for ls. +alias ls="ls --color=auto" + +# Force these programs to use re-located config files or wrappers. +# Notice that msmtp does not understand ~ as the home dir, only $HOME. +alias irssi="irssi --home ~/.config/irssi" +alias getmail="getmail --getmaildir=~/.config/getmail" +alias msmtp="msmtp --file=$HOME/.config/msmtp/msmtprc" +alias mutt="mutt_msmtp_loop" + +# Blue prompt with time. +PS1="\[\e[1;34m\][\\t \\u@\\h \\w]$\[\e[m\] " +PS2="\[\e[1;34m\]>\[\e[m\] " +PS3="\[\e[1;34m\]>\[\e[m\] " +PS4="\[\e[1;34m\]+\[\e[m\] " + +# Keep gnome-keyring-manager away from making trouble. +unset GNOME_KEYRING_CONTROL