46 current 2024-04-18 17:47:19 23.11.20240405.72da83d 6.1.84 *
This commit is contained in:
parent
79fbf3ab6d
commit
3b07849c0b
@ -30,6 +30,14 @@ bureau_nix_shell () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bureau_nix_shell_prompt () {
|
||||||
|
if [ -n "$IN_NIX_SHELL" ]; then
|
||||||
|
echo -n "[nix]"
|
||||||
|
else
|
||||||
|
echo -n ""
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
bureau_git_info () {
|
bureau_git_info () {
|
||||||
local ref
|
local ref
|
||||||
ref=$(command git symbolic-ref HEAD 2> /dev/null) || \
|
ref=$(command git symbolic-ref HEAD 2> /dev/null) || \
|
||||||
@ -139,7 +147,7 @@ bureau_precmd () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setopt prompt_subst
|
setopt prompt_subst
|
||||||
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
|
||||||
|
|||||||
@ -53,7 +53,9 @@
|
|||||||
borgbackup
|
borgbackup
|
||||||
borgmatic
|
borgmatic
|
||||||
docker
|
docker
|
||||||
|
docker-compose
|
||||||
git
|
git
|
||||||
|
nix-index
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
ranger
|
ranger
|
||||||
sops
|
sops
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user