zsh: add prompt color for devshell
This commit is contained in:
parent
0c0312a5c3
commit
3d6e960bd9
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@
|
||||||
delta_prompt_symbol() {
|
delta_prompt_symbol() {
|
||||||
if [[ "$1" -eq 0 ]]; then
|
if [[ "$1" -eq 0 ]]; then
|
||||||
local symbol_color
|
local symbol_color
|
||||||
if [[ -n "$IN_NIX3_SHELL" || -n "$IN_NIX_SHELL" ]]; then
|
if [[ -n "$DEVSHELL_DIR" ]]; then
|
||||||
|
symbol_color=214
|
||||||
|
elif [[ -n "$IN_NIX3_SHELL" || -n "$IN_NIX_SHELL" ]]; then
|
||||||
symbol_color=blue
|
symbol_color=blue
|
||||||
else
|
else
|
||||||
symbol_color=red
|
symbol_color=red
|
||||||
|
|
Loading…
Reference in a new issue