Przeglądaj źródła

Add tmux info

master
10sr 1 miesiąc temu
rodzic
commit
ed43da1971
2 zmienionych plików z 15 dodań i 14 usunięć
  1. +14
    -14
      shrc
  2. +1
    -0
      tmux.conf

+ 14
- 14
shrc Wyświetl plik

@@ -239,21 +239,21 @@ __safe_run id `whoami`
# finger `whoami`
__safe_run w `whoami`

# if null type tmux
# then
# echo
# echo tmux sessions:
# tmux ls 2>/dev/null| sed -e 's/^/ /g'
# echo
# fi
if null type tmux
then
echo
echo TMUX sessions:
tmux ls 2>/dev/null| sed -e 's/^/ /g'
fi

# if test -n "$TMUX"
# then
# tmux display -p \
# 'TMUX #S:#I:#W.#P, client TERM: #{client_termname}' \
# 2>/dev/null
# echo
# fi
if null type tmux && test -n "$TMUX"
then
tmux display -p \
'Current: #S:#I:#W.#P, client TERM: #{client_termname}' \
2>/dev/null
echo "C-zw: choose-tree C-zc: new-window C-zx: kill-pane C-zC-o: swithc-client"
echo
fi

if test -n "$__MY_DTACH"
then


+ 1
- 0
tmux.conf Wyświetl plik

@@ -21,6 +21,7 @@ bind C-o command-prompt -p "session name to switch to:" \
unbind s
bind w choose-tree -GZ


set -g base-index 1
set -g pane-base-index 1
set -g renumber-windows on


Ładowanie…
Anuluj
Zapisz