diff --git a/prompt_fresh_setup b/prompt_fresh_setup index 1cc5a41..3c863b1 100644 --- a/prompt_fresh_setup +++ b/prompt_fresh_setup @@ -61,7 +61,9 @@ fresh_line_one() { # Construct the time and directory portions of the prompt local time_stamp="%{%F{244}%}%D{%H:%M:%S}%{%f%}" - local directory="%{%F{37}%}%~%{%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 if `git rev-parse --git-dir > /dev/null 2>&1`; then