Add sandbox directory color to fresh_line_one
This commit is contained in:
parent
7bb6a459ee
commit
31d06e0f19
@ -61,6 +61,8 @@ fresh_line_one() {
|
||||
|
||||
# Construct the time and directory portions of the prompt
|
||||
local time_stamp="%{%F{244}%}%D{%H:%M:%S}%{%f%}"
|
||||
[[ -n $SANDBOX_HOME ]] && \
|
||||
local directory="%{%F{3}%}$SANDBOX_NAME${PWD#$SANDBOX_HOME}%{%f%}" || \
|
||||
local directory="%{%F{37}%}%~%{%f%}"
|
||||
|
||||
# Check we are in a git repository
|
||||
|
Loading…
x
Reference in New Issue
Block a user