pull/22/head
Michael Louwrens 2018-02-10 21:01:09 +02:00
parent 06802647a1
commit 0551854a9e
1 changed files with 1 additions and 1 deletions

View File

@ -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}"