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; [ {