fix(home): Don't include position = "anywhere" abbrs
This commit is contained in:
parent
e763212b39
commit
ce01e0ea57
1 changed files with 7 additions and 1 deletions
|
@ -55,7 +55,13 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
removeFishOnly = attrsets.filterAttrs (
|
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 (
|
abbrToAlias = attrsets.mapAttrs (
|
||||||
|
|
Loading…
Reference in a new issue