aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/st/starship/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/st/starship/module.nix')
-rw-r--r--modules/by-name/st/starship/module.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/by-name/st/starship/module.nix b/modules/by-name/st/starship/module.nix
index 9c0ef7ba..a271d645 100644
--- a/modules/by-name/st/starship/module.nix
+++ b/modules/by-name/st/starship/module.nix
@@ -37,7 +37,7 @@ in {
format = lib.concatStrings [
"$directory"
"$username"
- "\${custom.in_nixos_shell}"
+ "\${custom.in_direnv_sandbox}"
"$cmd_duration"
"$status"
"$character"
@@ -121,12 +121,12 @@ in {
};
custom = {
- in_nixos_shell = {
- symbol = "VM ";
+ in_direnv_sandbox = {
+ symbol = "ξΆ‘ ";
style = "bold white";
- when = ''test "$IN_NIXOS_SHELL" = true'';
+ when = ''test "$IN_DIRENV_SANDBOX" = true'';
shell = ["${lib.getExe pkgs.dash}"];
- description = "Show if a shell is run in a vm";
+ description = "Show if a shell is run in a direnv landrun sandbox";
};
};