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

This commit is contained in:
John Bowdre 2024-12-26 17:17:39 -06:00
parent 0307c91860
commit 0c9b32b8ee
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo

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