nix-infra/modules/home/fish/default.nix

20 lines
341 B
Nix
Raw Normal View History

2024-03-24 18:02:33 +00:00
{ ... }: {
2024-03-24 18:02:28 +00:00
programs.fish = {
enable = true;
2024-03-24 18:02:33 +00:00
interactiveShellInit = ''
2024-03-24 18:02:34 +00:00
set -g fish_greeting
2024-03-24 18:02:51 +00:00
set -g fish_key_bindings fish_vi_key_bindings
2024-03-24 19:05:07 +00:00
set -x GPG_TTY (tty)
2024-03-24 18:02:33 +00:00
gpgconf --launch gpg-agent
2024-03-24 19:24:12 +00:00
gpg-connect-agent updatestartuptty /bye > /dev/null
2024-03-24 18:02:33 +00:00
'';
2024-03-24 18:02:33 +00:00
shellAliases = {
2024-03-24 18:02:45 +00:00
g = "git";
};
2024-03-24 18:02:34 +00:00
2024-03-24 18:02:28 +00:00
};
}