48 current 2024-04-18 20:26:59 23.11.20240405.72da83d 6.1.84 *

This commit is contained in:
Jonas Röger 2024-04-18 20:27:07 +02:00
parent 7865d784b8
commit 912a1323a7

View File

@ -21,7 +21,7 @@ bureau_nix_shell () {
if [ -n "$IN_NIX_SHELL" ]; then if [ -n "$IN_NIX_SHELL" ]; then
if [ -n "$out" ]; then if [ -n "$out" ]; then
local name=$(basename $(realpath -mL "$out/../../")) local name=$(basename $(realpath -mL "$out/../../"))
echo -n "[nix-shell:$name]" echo -n "[nix-shell@$name]"
else else
echo -n "[nix-shell]" echo -n "[nix-shell]"
fi fi
@ -147,7 +147,7 @@ bureau_precmd () {
} }
setopt prompt_subst 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)' RPROMPT='$(nvm_prompt_info) $(bureau_nix_shell) $(bureau_git_prompt)'
autoload -U add-zsh-hook autoload -U add-zsh-hook