summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorMichael Louwrens <mlouwrens@entersekt.com>2018-02-10 22:01:09 +0300
committerMichael Louwrens <mlouwrens@entersekt.com>2018-02-10 22:01:09 +0300
commit0551854a9e09eb6b058710bb9af21327dfb13d54 (patch)
tree993b662c9c7330dc5e51c0fe63e828e7009fca36 /powerlevel9k.zsh-theme
parent06802647a1919c8f51bbead78104a6093e137e5a (diff)
fix typo
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 17af7ccb..bce893fe 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -610,7 +610,7 @@ prompt_context() {
elif [[ -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then
current_state="REMOTE"
elif sudo -n true 2>/dev/null; then
- current_statue="SUDO"
+ current_state="SUDO"
fi
"$1_prompt_segment" "${0}_${current_state}" "$2" "$DEFAULT_COLOR" "${context_states[$current_state]}" "${content}"