mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
flox
This commit is contained in:
parent
434ec2429f
commit
aa39a0e638
1 changed files with 3 additions and 3 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue