From 3a751c44e6c89c850eee763e2d5995b123e733e6 Mon Sep 17 00:00:00 2001 From: Elliot Date: Mon, 22 Sep 2025 12:01:38 +0800 Subject: [PATCH] nixos/programs/fish: update abbr command --- nixos/modules/programs/fish.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/fish.nix b/nixos/modules/programs/fish.nix index 799c5194d575..903752bc9a54 100644 --- a/nixos/modules/programs/fish.nix +++ b/nixos/modules/programs/fish.nix @@ -12,7 +12,7 @@ let cfg = config.programs.fish; fishAbbrs = lib.concatStringsSep "\n" ( - lib.mapAttrsToList (k: v: "abbr -ag ${k} ${lib.escapeShellArg v}") cfg.shellAbbrs + lib.mapAttrsToList (k: v: "abbr -a ${k} -- ${lib.escapeShellArg v}") cfg.shellAbbrs ); fishAliases = lib.concatStringsSep "\n" (