a3d13eb76a19bbe18b6b843232695645bd9aa632
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix invalid syntax in old zsh versions
Diff
1diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
2index 18496c2bcc276d6ee5987f64167a50d6d8c80c5f..71ecf2b36b7bb98ca4c8b4aff355ce4b4ba20848 100644
3--- a/themes/agnoster.zsh-theme
4+++ b/themes/agnoster.zsh-theme
5@@ -212,7 +212,7 @@ prompt_virtualenv() {
6 # - am I root
7 # - are there background jobs?
8 prompt_status() {
9- local -a symbols=()
10+ local -a symbols
11
12 [[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘"
13 [[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡"