show sandbox notifier
This commit is contained in:
parent
bd1dfdad07
commit
a5a06857fc
1 changed files with 6 additions and 0 deletions
|
|
@ -76,6 +76,12 @@ fancy-ctrl-z () {
|
|||
zle -N fancy-ctrl-z
|
||||
bindkey '^Z' fancy-ctrl-z
|
||||
|
||||
function in_sandbox {
|
||||
if [ ! -z "${YELP_IN_SANDBOX}" ]; then
|
||||
echo " (sandbox)"
|
||||
fi
|
||||
}
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_AHEAD=" %{$YELLOW%}⇈%{$RESET_COLOR%}"
|
||||
ZSH_THEME_GIT_PROMPT_BEHIND=" %{$YELLOW%}⇊%{$RESET_COLOR%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIVERGED=" %{$YELLOW%}⇅%{$RESET_COLOR%}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue