wip
This commit is contained in:
parent
a4e1b6af0f
commit
53abb926f0
1 changed files with 6 additions and 1 deletions
|
@ -623,10 +623,14 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# _copy() {
|
# _copy() {
|
||||||
|
# exec 2> /tmp/log.txt
|
||||||
|
# set -x
|
||||||
# tty="$SSH_TTY"
|
# tty="$SSH_TTY"
|
||||||
# tty=${tty:-$1}
|
# tty=${tty:-$1}
|
||||||
# tty=${tty:-$(tmux display -p '#{pane_tty}')}
|
# tty=${tty:-$(tmux display -p '#{pane_tty}')}
|
||||||
# buffer=${2:-$(tmux save-buffer -)}
|
# buffer=${2:-$(tmux save-buffer - || true)}
|
||||||
|
#
|
||||||
|
# [ -z "$buffer" ] && return
|
||||||
#
|
#
|
||||||
# if [ "$tty" != "$SSH_TTY" ]; then
|
# if [ "$tty" != "$SSH_TTY" ]; then
|
||||||
# command -v pbcopy > /dev/null 2>&1 && command='pbcopy'
|
# command -v pbcopy > /dev/null 2>&1 && command='pbcopy'
|
||||||
|
@ -643,6 +647,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
||||||
# fi
|
# fi
|
||||||
#
|
#
|
||||||
# printf '\033Ptmux;\033\033]52;c;%s\a\033\\' "$(printf %s "$buffer" | head -c 74994 | base64)" > "$tty"
|
# printf '\033Ptmux;\033\033]52;c;%s\a\033\\' "$(printf %s "$buffer" | head -c 74994 | base64)" > "$tty"
|
||||||
|
# set +x
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
# _apply_overrides() {
|
# _apply_overrides() {
|
||||||
|
|
Loading…
Reference in a new issue