Browse Source

fix invalid syntax in old zsh versions

Marc Cornellà 5 years ago
parent
commit
a3d13eb76a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      themes/agnoster.zsh-theme

+ 1 - 1
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}%}⚡"