Mercurial > repos > other > linux
annotate 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 |
rev | line source |
---|---|
6
013543014cc9
Make sure we import a default bashrc file
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
1 if [ -f /etc/bashrc ]; then |
013543014cc9
Make sure we import a default bashrc file
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
2 . /etc/bashrc |
013543014cc9
Make sure we import a default bashrc file
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
3 fi |
013543014cc9
Make sure we import a default bashrc file
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
4 |
0 | 5 export EDITOR=/usr/bin/nano |
6 test -s ~/.alias && . ~/.alias || true | |
7 export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH | |
8 export MAN_POSIXLY_CORRECT=1 | |
9 | |
10 if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ] | |
11 then | |
12 STARTED_TMUX=1; export STARTED_TMUX | |
13 sleep 1 | |
14 ( (tmux has-session -t remote && tmux attach-session -t remote) || (tmux new-session -s remote) ) && exit 0 | |
15 echo "tmux failed to start" | |
6
013543014cc9
Make sure we import a default bashrc file
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
16 fi |