Unverified Commit a3d13eb7 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

fix invalid syntax in old zsh versions

parent afa8dc46
...@@ -212,7 +212,7 @@ prompt_virtualenv() { ...@@ -212,7 +212,7 @@ prompt_virtualenv() {
# - am I root # - am I root
# - are there background jobs? # - are there background jobs?
prompt_status() { prompt_status() {
local -a symbols=() local -a symbols
[[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘" [[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘"
[[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡" [[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment