48 current 2024-04-18 20:26:59 23.11.20240405.72da83d 6.1.84 *
This commit is contained in:
parent
7865d784b8
commit
912a1323a7
@ -21,7 +21,7 @@ bureau_nix_shell () {
|
||||
if [ -n "$IN_NIX_SHELL" ]; then
|
||||
if [ -n "$out" ]; then
|
||||
local name=$(basename $(realpath -mL "$out/../../"))
|
||||
echo -n "[nix-shell:$name]"
|
||||
echo -n "[nix-shell@$name]"
|
||||
else
|
||||
echo -n "[nix-shell]"
|
||||
fi
|
||||
@ -147,7 +147,7 @@ bureau_precmd () {
|
||||
}
|
||||
|
||||
setopt prompt_subst
|
||||
PROMPT='> $(bureau_nix_shell_prompt) $_LIBERTY '
|
||||
PROMPT='$(bureau_nix_shell_prompt)> $_LIBERTY '
|
||||
RPROMPT='$(nvm_prompt_info) $(bureau_nix_shell) $(bureau_git_prompt)'
|
||||
|
||||
autoload -U add-zsh-hook
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user