mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-22 12:22:17 +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 =
|
||||
# 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
|
||||
''
|
||||
bind \ee edit_command_buffer
|
||||
|
|
Loading…
Reference in a new issue