mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-26 02:52:18 +00:00
fish: autostart tmux
This commit is contained in:
parent
64edab11a2
commit
61980dfb87
1 changed files with 6 additions and 0 deletions
|
@ -40,6 +40,12 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
interactiveShellInit =
|
interactiveShellInit =
|
||||||
|
# Launch tmux
|
||||||
|
''
|
||||||
|
if not set -q TMUX
|
||||||
|
tmux attach-session -t home || tmux new-session -s home
|
||||||
|
end
|
||||||
|
'' +
|
||||||
# Open command buffer in vim when alt+e is pressed
|
# Open command buffer in vim when alt+e is pressed
|
||||||
''
|
''
|
||||||
bind \ee edit_command_buffer
|
bind \ee edit_command_buffer
|
||||||
|
|
Loading…
Reference in a new issue