starship: re-add ion integration
which was apparently mistakenly removed in commit 7ae7250
This commit is contained in:
parent
646ac0ad17
commit
a62e4c88d7
|
@ -124,6 +124,12 @@ in {
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
programs.ion.initExtra = mkIf cfg.enableIonIntegration ''
|
||||||
|
if test $TERM != "dumb" && not exists -s INSIDE_EMACS || test $INSIDE_EMACS = "vterm"
|
||||||
|
eval $(${starshipCmd} init ion)
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
|
||||||
programs.nushell = mkIf cfg.enableNushellIntegration {
|
programs.nushell = mkIf cfg.enableNushellIntegration {
|
||||||
# Unfortunately nushell doesn't allow conditionally sourcing nor
|
# Unfortunately nushell doesn't allow conditionally sourcing nor
|
||||||
# conditionally setting (global) environment variables, which is why the
|
# conditionally setting (global) environment variables, which is why the
|
||||||
|
|
Loading…
Reference in a new issue