Revert "fish: disable tmux auto-attach (handle with terminal rather than shell)"

This reverts commit 0c9b32b8ee.
This commit is contained in:
John Bowdre 2024-12-26 20:45:19 -06:00
parent 21d2a05769
commit b6b05664e1

View file

@ -1,11 +1,11 @@
{
programs.fish.interactiveShellInit =
# Launch tmux
# ''
# if not set -q TMUX
# tmux attach-session -t $(hostname -s) || tmux new-session -s $(hostname -s) -c $HOME
# end
# '' +
''
if not set -q TMUX
tmux attach-session -t $(hostname -s) || tmux new-session -s $(hostname -s) -c $HOME
end
'' +
# Open command buffer in vim when alt+e is pressed
''
bind \ee edit_command_buffer