Explorar el Código

fix tmux.conf

pull/1/head
10sr hace 12 años
padre
commit
89dd84e5bc
Se han modificado 2 ficheros con 16 adiciones y 12 borrados
  1. +9
    -8
      bashrc
  2. +7
    -4
      tmux.conf

+ 9
- 8
bashrc Ver fichero

@@ -184,17 +184,18 @@ then
fi

tmux_main(){
if tmux has -t main
if tmux has -t main
then
if tmux lsc -t main
then
if tmux lsc -t main
tmux new
else
tmux attach -t main
fi
tmux new
else
tmux new -s main
tmux attach -t main
fi
}
else
tmux new -s main
fi
}

__my_moc_state(){
type mocp >/dev/null 2>&1 || return


+ 7
- 4
tmux.conf Ver fichero

@@ -7,8 +7,8 @@ bind-key C command-prompt "new-window '%%'"
setw -g mode-keys vi

set -g default-command /bin/bash
#set -g default-terminal screen-16color
set -g default-terminal screen-256color
#set -g default-terminal screen-16color

#set -g status-left ""
#set -g status-right "#H | %a, %d %b %Y %T %z #(tmux -V)"
@@ -18,6 +18,9 @@ set message-fg yellow

set -g set-titles on

set status-fg white
set status-bg green
if "test `hostname` = newkiwi" "set status-bg blue"
set -g status-bg green
if "test `hostname` = newkiwi" "set -g status-bg blue"
set -g status-fg white

#if "! tmux has -t main" "new-session -d -s main"
#attach -t main

Cargando…
Cancelar
Guardar