From 03a8b8f65e7c6c06d4cf66c5e8e49aca7225ce6c Mon Sep 17 00:00:00 2001 From: atagen Date: Mon, 21 Jul 2025 00:09:59 +1000 Subject: [PATCH] add fish abbrs and header --- base/terminal.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/base/terminal.nix b/base/terminal.nix index 1c2e7af..947a6a2 100644 --- a/base/terminal.nix +++ b/base/terminal.nix @@ -17,6 +17,20 @@ in }; programs.fish = { enable = true; + shellAbbrs = { + "gco" = "git checkout"; + "gcb" = "git checkout -b"; + "gp" = "git push"; + "gpf" = "git push --force"; + "gap" = "git commit -a --amend --no-edit && git push --force"; + "gl" = "git pull"; + "ga" = "git add"; + "l" = "eza -lg --icons=always --colour=always | culr"; + "la" = "eza -lg --icons=always --colour=always | culr"; + }; + interactiveShellInit = '' + ${../rice/header.sh} + ''; }; programs.zoxide = { enable = true;