From 80a894e05a3342c99fa5e4d2499c98825ed1cab4 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sat, 6 Sep 2025 23:55:22 +0100 Subject: [PATCH] swapped some shell aliases to abbreviations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fun and cool feature, also lets you modify the command since it types out the full thing for you, yippee 🙂 --- home-manager/fish.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home-manager/fish.nix b/home-manager/fish.nix index ba62530..4cda943 100644 --- a/home-manager/fish.nix +++ b/home-manager/fish.nix @@ -6,11 +6,13 @@ shellAliases = { ls = "eza -lh"; ip = "ip --color=auto"; - nano = "nvim"; cd = "z"; + }; + shellAbbrs = { + nano = "nvim"; cat = "bat"; - # Aliases for my nixos workflow + # Abbreviations for my nixos workflow nixos-switch = "sudo nixos-rebuild switch --flake ~/nixconf &| nom"; home-switch = "home-manager switch --flake ~/nixconf &| nom"; server-switch = "nixos-rebuild switch --flake ~/nixconf#biggerpi --target-host blue@biggerpi --use-remote-sudo &| nom";