Add tmux autostart

This commit is contained in:
Cyryl Płotnicki 2019-06-30 18:11:20 +01:00
parent 29ed117e74
commit e65063eb18

View file

@ -11,11 +11,14 @@
save = 102400;
ignoreDups = true;
expireDuplicatesFirst = true;
extended = true;
share = true;
};
enableAutosuggestions = true;
enableCompletion = true;
oh-my-zsh = {
enable = true;
plugins = [ "vi-mode" "git" "python" "syntax-highlighting" "history-substring-search" "spectrum" "sshi" "prompt" "gpg" "autosuggestions" "tmux" ];
};
plugins = [
{
name = "spaceship";
@ -29,9 +32,10 @@
initExtra = ''
SPACESHIP_TIME_SHOW=true
SPACESHIP_EXIT_CODE_SHOW=true
SPACESHIP_VI_MODE_SHOW=false
SPACESHIP_BATTERY_THRESHOLD=30
'';
sessionVariables = { TERM="xterm-256color"; EDITOR="vim"; VISUAL="vim"; PAGER="less"; };
sessionVariables = { TERM="xterm-256color"; EDITOR="vim"; VISUAL="vim"; PAGER="less"; ZSH_TMUX_AUTOSTART=true; };
shellAliases = { tmate = "tmux detach-client -E 'tmate;tmux'"; };
};