tmux: move fish related settings to fish module

This commit is contained in:
Primrose 2024-12-01 13:49:18 +01:00
parent 05b262212d
commit 32cc98c10d
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 18 additions and 13 deletions

View file

@ -2,12 +2,7 @@
{
programs.tmux.extraConfig =
''
set -g default-command "${pkgs.fish}/bin/fish" # Use fish
set -g default-shell "${pkgs.fish}/bin/fish"
''
+ (builtins.readFile ./tmux.conf)
(builtins.readFile ./tmux.conf)
+ (lib.optionalString pkgs.stdenv.isDarwin ''
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel 'pbcopy'