Skip to content

Commit df90f68

Browse files
committedMay 21, 2023
Outcomment reattach-to-user-namespace part in .tmux.conf
This seems to be not necessary anymore [1]. This also gets rid of the need to install reattach-to-user-namespace with Homebrew. [1] tmux-plugins/tmux-sensible#42
1 parent 46c7032 commit df90f68

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎.tmux.conf

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ set -sg escape-time 1
2121
set -g base-index 1
2222
setw -g pane-base-index 1
2323

24+
# This seems to be not necessary anymore, see [1].
25+
# [1] https://github.com/tmux-plugins/tmux-sensible/issues/42
26+
#
2427
# Mac only: fix for bug that in newer Mac versions (10.10, 10.11, etc.) prevents
2528
# "$ open xyz.pdf" and "$ subl xyz.txt" from working. The error in each case has
2629
# something to do with a windows server.
2730
# This requires "$ brew install reattach-to-user-namespace", see explanation on
2831
# http://www.elmund.io/osx/2015/07/10/open-command-in-osx-tmux/
29-
if-shell "uname | grep -q Darwin" \
30-
"set -g default-command \"reattach-to-user-namespace -l ${SHELL}\""
32+
#if-shell "uname | grep -q Darwin" \
33+
# "set -g default-command \"reattach-to-user-namespace -l ${SHELL}\""
3134

3235
#------------------------------------------------------------------------------#
3336
# Key bindings

0 commit comments

Comments
 (0)
Failed to load comments.