We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2297b2b commit cbd1f17Copy full SHA for cbd1f17
agkozak-zsh-prompt.plugin.zsh
@@ -209,11 +209,10 @@ fi
209
: ${AGKOZAK_BLANK_LINES:=0}
210
# Whether or not to display the virtual environment
211
: ${AGKOZAK_SHOW_VIRTUALENV:=1}
212
-
213
# Characters to put around the command execution time (default: nothing )
214
-AGKOZAK_CMD_EXEC_TIME_CHARS=()
+(( $+AGKOZAK_CMD_EXEC_TIME_CHARS )) || AGKOZAK_CMD_EXEC_TIME_CHARS=()
215
# Characters to put around the virtual environment name (default: square brackets)
216
-AGKOZAK_VIRTUALENV_CHARS=( '[' ']' )
+(( $+AGKOZAK_VIRTUALENV_CHARS )) || AGKOZAK_VIRTUALENV_CHARS=( '[' ']' )
217
218
setopt PROMPT_SUBST NO_PROMPT_BANG
219
0 commit comments