mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 01:39:47 +01:00
starship: re-add ion integration
which was apparently mistakenly removed in commit 7ae7250
This commit is contained in:
parent
646ac0ad17
commit
a62e4c88d7
1 changed files with 6 additions and 0 deletions
|
@ -124,6 +124,12 @@ in {
|
|||
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 {
|
||||
# Unfortunately nushell doesn't allow conditionally sourcing nor
|
||||
# conditionally setting (global) environment variables, which is why the
|
||||
|
|
Loading…
Reference in a new issue