diff --git a/modules/home/options/shellAbbrs/default.nix b/modules/home/options/shellAbbrs/default.nix index 1e5f7f2..d24e02c 100644 --- a/modules/home/options/shellAbbrs/default.nix +++ b/modules/home/options/shellAbbrs/default.nix @@ -55,7 +55,13 @@ let }; removeFishOnly = attrsets.filterAttrs ( - _: v: if (builtins.isAttrs v) then !((v ? regex) || (v ? setCursor) || (v ? function)) else true + _: v: + if (builtins.isAttrs v) then + !( + (v ? regex) || (v ? setCursor) || (v ? function) || ((v ? position) && (v.position == "anywhere")) + ) + else + true ); abbrToAlias = attrsets.mapAttrs (