From ca8ef5df01aad8ac3b2c7dc874c3a1133d36beef Mon Sep 17 00:00:00 2001 From: atagen Date: Mon, 21 Jul 2025 13:51:35 +1000 Subject: [PATCH] fix up fish aliases/abbrs --- common/terminal.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/common/terminal.nix b/common/terminal.nix index fc1a6a1..8df638b 100644 --- a/common/terminal.nix +++ b/common/terminal.nix @@ -1,11 +1,9 @@ { pkgs, inputs, - config, ... }: let - inherit (config) rice; inherit (pkgs) fish; in { @@ -26,8 +24,13 @@ in "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"; + "gcam" = "git commit -am"; + }; + shellAliases = { + "l" = "eza -lg --icons=always --colour=always $argv | culr"; + "la" = "eza -lg --icons=always --colour=always $argv | culr"; + "p" = "ps $argv | culr"; + "mnt" = "mount | culr"; }; interactiveShellInit = '' ${./rice/header.sh}