home: zsh: enforce order of 'initExtra{First,}'
In case I want to add more values to those options, I still want the _main_ values to be ordered before/after.
This commit is contained in:
parent
521522e4e9
commit
c89dec2a38
|
@ -56,7 +56,7 @@ in
|
||||||
defaultKeymap = "emacs";
|
defaultKeymap = "emacs";
|
||||||
|
|
||||||
# Make those happen early to avoid doing double the work
|
# Make those happen early to avoid doing double the work
|
||||||
initExtraFirst = ''
|
initExtraFirst = lib.mkBefore ''
|
||||||
${
|
${
|
||||||
lib.optionalString cfg.launchTmux ''
|
lib.optionalString cfg.launchTmux ''
|
||||||
# Launch tmux unless already inside one
|
# Launch tmux unless already inside one
|
||||||
|
@ -67,7 +67,7 @@ in
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = lib.mkAfter ''
|
||||||
source ${./completion-styles.zsh}
|
source ${./completion-styles.zsh}
|
||||||
source ${./extra-mappings.zsh}
|
source ${./extra-mappings.zsh}
|
||||||
source ${./options.zsh}
|
source ${./options.zsh}
|
||||||
|
|
Loading…
Reference in a new issue