tmux: reattach-to-user-namespace is no longer needed in macOS

This commit is contained in:
Fernando Schauenburg 2024-07-27 03:41:19 +02:00
parent 3c7d3778ce
commit da0285f274

View file

@ -86,13 +86,6 @@ set -ga terminal-overrides ',*-256col*:Tc'
# cause shells to start with level 1 again within the session.
set-environment -gu SHLVL
# Fix for clipboard in vim running inside tmux:
# See http://www.economyofeffort.com/2013/07/29/reattach-to-user-namespace-the-fix-for-your-tmux-in-os-x-woes/
# See http://stackoverflow.com/a/40154047
# See https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
if-shell 'test "$(uname)" = "Darwin"' \
'set -g default-command "reattach-to-user-namespace -l $SHELL"'
#
# Style (status list, colors, ...)
#