fix(home): Don't include position = "anywhere" abbrs

This commit is contained in:
punkfairie 2024-11-16 12:20:21 -08:00
parent e763212b39
commit ce01e0ea57
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -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 (