Mercurial > repos > other > linux
annotate bashrc @ 0:27e8e563b02b
* First config files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 27 Jul 2013 19:29:29 +0100 |
parents | |
children | 013543014cc9 |
rev | line source |
---|---|
0 | 1 export EDITOR=/usr/bin/nano |
2 test -s ~/.alias && . ~/.alias || true | |
3 export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH | |
4 export MAN_POSIXLY_CORRECT=1 | |
5 | |
6 if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ] | |
7 then | |
8 STARTED_TMUX=1; export STARTED_TMUX | |
9 sleep 1 | |
10 ( (tmux has-session -t remote && tmux attach-session -t remote) || (tmux new-session -s remote) ) && exit 0 | |
11 echo "tmux failed to start" | |
12 f |