mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
flox format
This commit is contained in:
parent
35b101e889
commit
077959b5ff
1 changed files with 3 additions and 3 deletions
|
|
@ -101,9 +101,9 @@ in
|
|||
};
|
||||
|
||||
custom.flox_prompt_indicator = {
|
||||
description = "Shows the active Flox environment name";
|
||||
command = ''if [ -n "$FLOX_PROMPT_ENVIRONMENTS" ]; then echo -n "via [❄️ $FLOX_PROMPT_ENVIRONMENTS](bold blue) "; else echo -n ""; fi'';
|
||||
# when = ''test -n "$FLOX_PROMPT_ENVIRONMENTS"''; # REMOVED FOR TESTING
|
||||
description = "Shows the active Flox environment name (FORCED OUTPUT TEST)";
|
||||
command = ''echo -n "FORCED_OUTPUT"''; # FORCED OUTPUT TEST
|
||||
# when = ''test -n "$FLOX_PROMPT_ENVIRONMENTS"''; # 'when' remains removed
|
||||
format = "$output";
|
||||
shell = "bash";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue