fix invalid syntax in old zsh versions

master
Marc Cornellà 8 years ago committed by GitHub
parent afa8dc46ec
commit a3d13eb76a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      themes/agnoster.zsh-theme

@ -212,7 +212,7 @@ prompt_virtualenv() {
# - am I root
# - are there background jobs?
prompt_status() {
local -a symbols=()
local -a symbols
[[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘"
[[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡"

Loading…
Cancel
Save