diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2016-11-05 00:08:20 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2016-11-05 00:08:20 +0100 |
| commit | efc38f72f9d38146b938c475a1b47693bc508bb6 (patch) | |
| tree | 5d92b68dcb61b74a5fba6db9b92ee15c83e2776e /modules | |
| parent | ccedaf9aea9aa1aa1e0cebf0973da41cc61433db (diff) | |
fix tmux loginShell option
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/tmux.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/tmux.nix b/modules/tmux.nix index a983d19..c54d0a2 100644 --- a/modules/tmux.nix +++ b/modules/tmux.nix @@ -69,7 +69,7 @@ in { programs.tmux.config = lib.concatStringsSep "\n" tmuxConfigs; programs.tmux.text.login-shell = if stdenv.isDarwin then '' - set -g default-command "reattach-to-user-namespace -l ${cfg.loginShell}" + set -g default-command "reattach-to-user-namespace ${cfg.loginShell}" '' else '' set -g default-command "${cfg.loginShell}" ''; @@ -94,8 +94,6 @@ in { # set -g status-utf8 on # set -g utf8 on - '' + lib.optionalString stdenv.isDarwin '' - set -g default-command "reattach-to-user-namespace -l $SHELL" ''); programs.tmux.text.mouse = mkIf cfg.enableMouse '' |
