# HG changeset patch # User IBBoard # Date 1374949769 -3600 # Node ID 27e8e563b02b54030d830425cdfe7303b4e1e7f5 * First config files diff -r 000000000000 -r 27e8e563b02b bashrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bashrc Sat Jul 27 19:29:29 2013 +0100 @@ -0,0 +1,12 @@ +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 \ No newline at end of file diff -r 000000000000 -r 27e8e563b02b tmux.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tmux.conf Sat Jul 27 19:29:29 2013 +0100 @@ -0,0 +1,7 @@ +set -g base-index 1 +set-option -g prefix C-a +set -g status-bg black +set -g status-fg white +#set -g terminal-overrides 'xterm*:smcup@:rmcup@' +setw -g mode-mouse on +set-window-option -g xterm-keys on \ No newline at end of file