Fix in_nix_shell_with_name
This commit is contained in:
parent
c52bcd867c
commit
477c4116da
@ -1672,7 +1672,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function prompt_nix_shell_with_name() {
|
function prompt_nix_shell_with_name() {
|
||||||
if [[ -n "${IN_NIX_SHELL-:}" ]]; then
|
if [[ -n "${IN_NIX_SHELL-}" ]]; then
|
||||||
if [[ "${name-nix-shell}" != nix-shell ]]; then
|
if [[ "${name-nix-shell}" != nix-shell ]]; then
|
||||||
p10k segment -b 4 -f 15 -r -i NIX_SHELL_ICON -t "$name"
|
p10k segment -b 4 -f 15 -r -i NIX_SHELL_ICON -t "$name"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user