Mercurial > repos > other > linux
changeset 0:27e8e563b02b
* First config files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 27 Jul 2013 19:29:29 +0100 |
parents | |
children | 9114ad0f9d1d |
files | bashrc tmux.conf |
diffstat | 2 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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
--- /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