mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-11 03:36:52 +02:00
fix: starship with bash, vscode
This commit is contained in:
@@ -10,6 +10,11 @@ in {
|
||||
./terminals.nix
|
||||
];
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
};
|
||||
|
||||
# add environment variables
|
||||
# 注意不要用 home.sessionVariables 或 home.xxx.sessionVariables,这俩参数没用
|
||||
systemd.user.sessionVariables = {
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{config, ...}: {
|
||||
systemd.user.sessionVariables.STARSHIP_CACHE = "${config.xdg.cacheHome}/starship";
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
Reference in New Issue
Block a user