summaryrefslogtreecommitdiff
path: root/modules/programs/tmux.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs/tmux.nix')
-rw-r--r--modules/programs/tmux.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix
index 524b307..c392188 100644
--- a/modules/programs/tmux.nix
+++ b/modules/programs/tmux.nix
@@ -112,7 +112,7 @@ in {
'';
programs.tmux.tmuxOptions.login-shell.text = if stdenv.isDarwin then ''
- set -g default-command "reattach-to-user-namespace ${config.environment.loginShell}"
+ set -g default-command "${pkgs.reattach-to-user-namespace}/bin/reattach-to-user-namespace ${config.environment.loginShell}"
'' else ''
set -g default-command "${config.environment.loginShell}"
'';
@@ -164,7 +164,7 @@ in {
'' + optionalString stdenv.isLinux ''
bind -t vi-copy y copy-selection
'' + optionalString stdenv.isDarwin ''
- bind -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
+ bind -t vi-copy y copy-pipe "${pkgs.reattach-to-user-namespace}/bin/reattach-to-user-namespace pbcopy"
'');
};