view bashrc @ 5:17c094cc54e3

Fix variable naming typo
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Jul 2013 20:56:12 +0100
parents 27e8e563b02b
children 013543014cc9
line wrap: on
line source

export EDITOR=/usr/bin/nano
test -s ~/.alias && . ~/.alias || true
export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
export MAN_POSIXLY_CORRECT=1

if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ]
then
        STARTED_TMUX=1; export STARTED_TMUX
        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