changeset 6:013543014cc9

Make sure we import a default bashrc file
author IBBoard <dev@ibboard.co.uk>
date Thu, 01 Aug 2013 13:43:32 +0000
parents 17c094cc54e3
children cac8f4eec6d4
files bashrc
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bashrc	Sat Jul 27 20:56:12 2013 +0100
+++ b/bashrc	Thu Aug 01 13:43:32 2013 +0000
@@ -1,3 +1,7 @@
+if [ -f /etc/bashrc ]; then
+        . /etc/bashrc
+fi
+
 export EDITOR=/usr/bin/nano
 test -s ~/.alias && . ~/.alias || true
 export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
@@ -9,4 +13,4 @@
         sleep 1
         ( (tmux has-session -t remote && tmux attach-session -t remote) || (tmux new-session -s remote) ) && exit 0
         echo "tmux failed to start"
-f
\ No newline at end of file
+fi