This commit is contained in:
death916 2025-05-30 02:13:01 -07:00
parent 434ec2429f
commit aa39a0e638

View file

@ -107,8 +107,8 @@ in
custom.flox_prompt_indicator = { custom.flox_prompt_indicator = {
description = "Shows the active Flox environment name"; description = "Shows the active Flox environment name";
command = ''if [ -n "$FLOX_ENV_NAME" ]; then echo "via [ $FLOX_ENV_NAME](bold blue) "; fi''; command = ''if [ -n "$FLOX_PROMPT_ENVIRONMENTS" ]; then echo "via [ $FLOX_PROMPT_ENVIRONMENTS](bold blue) "; fi''; # MODIFIED HERE
when = ''test -n "$FLOX_ENV_NAME"''; when = ''test -n "$FLOX_PROMPT_ENVIRONMENTS"''; # MODIFIED HERE
format = ''$output''; format = ''$output'';
shell = "bash"; shell = "bash";
}; };
@ -141,7 +141,7 @@ in
enableCompletion = true; enableCompletion = true;
bashrcExtra = '' bashrcExtra = ''
export PATH="$PATH:$HOME/bin:$HOME/.local/bin:$HOME/go/bin" export PATH="$PATH:$HOME/bin:$HOME/.local/bin:$HOME/go/bin"
''; # Removed the "flox hook" line from here '';
shellAliases = { shellAliases = {
k = "kubectl"; k = "kubectl";
pimox = "tailscale ssh pimox"; pimox = "tailscale ssh pimox";