tmux: comment out obsolete(?) settings

This commit is contained in:
Alexandra Dunn 2021-11-05 00:33:00 -07:00
parent 1c36df207d
commit 985759a40a
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#### COPY PASTE
# brew install reattach-to-user-namespace
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
set-option -g default-command "reattach-to-user-namespace -l bash"
# set-option -g default-command "reattach-to-user-namespace -l bash"
# http://robots.thoughtbot.com/tmux-copy-paste-on-os-x-a-better-future
bind-key -T copy-mode C-w send -X copy-pipe "reattach-to-user-namespace pbcopy"

View file

@ -1,6 +1,7 @@
# can't be just 'xterm-256color', that screws up irssi and probably
# other programs with streaming text
set -g default-terminal "tmux-256color"
# set -g default-terminal "tmux-256color"
# set -g default-shell "fish"
# don't use xclip in WSL
if-shell '[ -z "$WSL_DISTRO_NAME" ]' 'bind-key -T copy-mode C-w send -X copy-pipe "xclip -selection clipboard"'