Add ion shell module
This commit is contained in:
parent
dfe7d58c30
commit
e46a086ab3
4 changed files with 24 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
cfg = config.youthlic.programs.starship;
|
||||
fish-cfg = config.youthlic.programs.fish;
|
||||
bash-cfg = config.youthlic.programs.bash;
|
||||
ion-cfg = config.youthlic.programs.ion;
|
||||
in {
|
||||
options = {
|
||||
youthlic.programs.starship = {
|
||||
|
|
@ -43,5 +44,8 @@ in {
|
|||
bleopt prompt_rps1_final='$(starship module time)'
|
||||
'';
|
||||
})
|
||||
(lib.mkIf (cfg.enable && ion-cfg.enable) {
|
||||
programs.starship.enableIonIntegration = true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue