From a545dc9a1032352f7828b59f5951fc4238c20059 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 3 May 2015 04:18:08 +0200
Subject: [PATCH] Add to dotfiles bashrc / bash_profile.

---
 dotfiles/bash_profile |  3 +++
 dotfiles/bashrc       | 24 ++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 dotfiles/bash_profile
 create mode 100644 dotfiles/bashrc

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
-- 
2.30.2