Compare commits
3 Commits
a74eb96927
...
333f61709b
Author | SHA1 | Date |
---|---|---|
Łukasz Siemiradzki | 333f61709b | |
Gregory Pakosz | 5354501a5b | |
Łukasz SIEMIRADZKI | 6fc9ad1c9d |
|
@ -525,7 +525,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
|
|||
# case "$_uname_s" in
|
||||
# *CYGWIN*)
|
||||
# ps -al | tail -n +2 | awk -v pane_pid="$pane_pid" -v tty="$pane_tty" '
|
||||
# ((/ssh/ && !/-W/) || !/ssh/) && !/tee/ && $5 == tty {
|
||||
# ((/ssh/ && !/-W/ && !/tsh proxy ssh/) || !/ssh/) && !/tee/ && $5 == tty {
|
||||
# user[$1] = $6; if (!child[$2]) child[$2] = $1
|
||||
# }
|
||||
# END {
|
||||
|
@ -542,7 +542,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
|
|||
# ;;
|
||||
# *Linux*)
|
||||
# ps -t "$pane_tty" --sort=lstart -o user=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -o pid= -o ppid= -o command= | awk -v pane_pid="$pane_pid" '
|
||||
# ((/ssh/ && !/-W/) || !/ssh/) && !/tee/ {
|
||||
# ((/ssh/ && !/-W/ && !/tsh proxy ssh/) || !/ssh/) && !/tee/ {
|
||||
# user[$2] = $1; if (!child[$3]) child[$3] = $2; pid=$2; $1 = $2 = $3 = ""; command[pid] = substr($0,4)
|
||||
# }
|
||||
# END {
|
||||
|
@ -556,7 +556,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
|
|||
# ;;
|
||||
# *)
|
||||
# ps -t "/dev/$pane_tty" -o user=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -o pid= -o ppid= -o command= | awk -v pane_pid="$pane_pid" '
|
||||
# ((/ssh/ && !/-W/) || !/ssh/) && !/tee/ {
|
||||
# ((/ssh/ && !/-W/ && !/tsh proxy ssh/) || !/ssh/) && !/tee/ {
|
||||
# user[$2] = $1; if (!child[$3]) child[$3] = $2; pid=$2; $1 = $2 = $3 = ""; command[pid] = substr($0,4)
|
||||
# }
|
||||
# END {
|
||||
|
|
|
@ -370,6 +370,10 @@ tmux_conf_copy_to_os_clipboard=false
|
|||
# set -g prefix C-a
|
||||
# bind C-a send-prefix
|
||||
|
||||
# don't use C-a as a prefix, keep C-b as the only prefix
|
||||
# set -gu prefix2
|
||||
# unbind C-a
|
||||
|
||||
# if you don't want Oh my tmux! to alter a binding, use #!important
|
||||
# bind c new-window -c '#{pane_current_path}' #!important
|
||||
|
||||
|
|
Loading…
Reference in New Issue