💱 (home) swap zsh aliases for fish aliases

This commit is contained in:
Laureηt 2024-03-31 16:15:21 +02:00
parent dd2eabad54
commit ccdcb7d0bf
Signed by: Laurent
SSH key fingerprint: SHA256:pb5NrYg80So5z9hmqQFPmp//sgr+DFeJkKhmGyU2NLk
5 changed files with 7 additions and 5 deletions

View file

@ -1,8 +1,10 @@
{...}: { {...}: {
programs.atuin = { programs.atuin = {
enable = true; enable = true;
enableZshIntegration = true; enableFishIntegration = true;
settings = { settings = {
enter_accept = false;
sync_address = "https://atuin.fainsin.bzh"; sync_address = "https://atuin.fainsin.bzh";
}; };
}; };

View file

@ -16,7 +16,7 @@
extraPackages = with pkgs.bat-extras; [batman]; extraPackages = with pkgs.bat-extras; [batman];
}; };
programs.zsh.shellAliases = { programs.fish.shellAliases = {
cat = "bat"; cat = "bat";
man = "batman"; man = "batman";
}; };

View file

@ -11,5 +11,5 @@
}; };
}; };
programs.zsh.shellAliases.htop = "btop"; programs.fish.shellAliases.htop = "btop";
} }

View file

@ -1,7 +1,7 @@
{...}: { {...}: {
programs.direnv = { programs.direnv = {
enable = true; enable = true;
enableZshIntegration = true; enableFishIntegration = true;
nix-direnv.enable = true; nix-direnv.enable = true;
}; };
} }

View file

@ -1,6 +1,6 @@
{...}: { {...}: {
programs.eza.enable = true; programs.eza.enable = true;
programs.zsh.shellAliases = { programs.fish.shellAliases = {
l = "eza -lahg --icons --git --time-style=long-iso --group-directories-first --color=always"; l = "eza -lahg --icons --git --time-style=long-iso --group-directories-first --color=always";
ll = "l --grid"; ll = "l --grid";
}; };