From 817ed30cdb135efdf4351e7b4fffad27b02dd4bc Mon Sep 17 00:00:00 2001 From: Superredstone Date: Thu, 28 May 2026 10:33:37 +0200 Subject: [PATCH] feat(fish): add some aliases feat(fish): add some aliases --- home/fish.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/home/fish.nix b/home/fish.nix index 4e07fe7..e530158 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -2,6 +2,14 @@ { programs.fish = { enable = true; + shellAliases = { + "please" = "sudo $(fc -ln -1)"; + "amend" = "git commit --amend"; + "commit" = "git commit"; + "add" = "git add ."; + "ssh" = "kitten ssh"; + "dev" = "nix develop --command 'fish'"; + }; interactiveShellInit = '' # This is commented until a good way of installing themes is found # fish_config theme choose Catppuccin\ Mocha @@ -12,16 +20,6 @@ krabby random --no-title --padding-left 2 end end - - function weather - curl "wttr.in/Bolzano?0?Q?" - end - - function dev - nix develop --command "fish" - end - - alias ssh "kitten ssh" ''; plugins = with pkgs.fishPlugins; [ {