comparison bashrc @ 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 27e8e563b02b
children e6a261f18fb1
comparison
equal deleted inserted replaced
5:17c094cc54e3 6:013543014cc9
1 if [ -f /etc/bashrc ]; then
2 . /etc/bashrc
3 fi
4
1 export EDITOR=/usr/bin/nano 5 export EDITOR=/usr/bin/nano
2 test -s ~/.alias && . ~/.alias || true 6 test -s ~/.alias && . ~/.alias || true
3 export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH 7 export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
4 export MAN_POSIXLY_CORRECT=1 8 export MAN_POSIXLY_CORRECT=1
5 9
7 then 11 then
8 STARTED_TMUX=1; export STARTED_TMUX 12 STARTED_TMUX=1; export STARTED_TMUX
9 sleep 1 13 sleep 1
10 ( (tmux has-session -t remote && tmux attach-session -t remote) || (tmux new-session -s remote) ) && exit 0 14 ( (tmux has-session -t remote && tmux attach-session -t remote) || (tmux new-session -s remote) ) && exit 0
11 echo "tmux failed to start" 15 echo "tmux failed to start"
12 f 16 fi