From be96257cd6e8c8e6073b2b69c17cbc0b5ca6587a Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Mon, 16 Sep 2024 13:30:23 +0800 Subject: [PATCH] fixup! fish: add shellabbrs --- home/applications/fish/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/home/applications/fish/default.nix b/home/applications/fish/default.nix index 3d9be01..ba02107 100644 --- a/home/applications/fish/default.nix +++ b/home/applications/fish/default.nix @@ -35,10 +35,19 @@ ]; shellAbbrs = { - g = "git"; - n = "nvim"; gi = "gitui"; - sy = "systemctl"; + n = "nvim"; + s = "nh os switch"; + + g = "git"; + ga = "git add"; + gc = "git commit -m"; + gca = "git commit --amend"; + gd = "git diff"; + gds = "git diff --staged"; + gl = "git log"; + gp = "git push"; + gr = "git rebase -i --autosquash"; }; functions =