diff --git a/home/wm/i3/default.nix b/home/wm/i3/default.nix index 2a99958..f8080ad 100644 --- a/home/wm/i3/default.nix +++ b/home/wm/i3/default.nix @@ -157,9 +157,7 @@ in keybindings = lib.my.recursiveMerge [ { # The basics - "${modifier}+Return" = "exec ${terminal} ${ - lib.optionalString config.my.home.tmux.enable "-e tmux new-session" - }"; + "${modifier}+Return" = "exec ${terminal}"; "${modifier}+Shift+Return" = "exec env TMUX=nil ${terminal}"; "${modifier}+Shift+q" = "kill"; "${modifier}+f" = "fullscreen toggle"; diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 5dc9a63..27077cf 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -46,16 +46,6 @@ in # Modal editing is life, but CLI benefits from emacs gymnastics defaultKeymap = "emacs"; - # Make those happen early to avoid doing double the work - initExtraFirst = - lib.optionalString config.my.home.tmux.enable '' - # Launch tmux unless already inside one - if [ -z "$TMUX" ]; then - exec tmux new-session - fi - '' - ; - initExtra = lib.concatMapStrings builtins.readFile [ ./completion-styles.zsh ./extra-mappings.zsh