mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-29 00:04:36 +00:00
fix typo
This commit is contained in:
@@ -610,7 +610,7 @@ prompt_context() {
|
|||||||
elif [[ -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then
|
elif [[ -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then
|
||||||
current_state="REMOTE"
|
current_state="REMOTE"
|
||||||
elif sudo -n true 2>/dev/null; then
|
elif sudo -n true 2>/dev/null; then
|
||||||
current_statue="SUDO"
|
current_state="SUDO"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"$1_prompt_segment" "${0}_${current_state}" "$2" "$DEFAULT_COLOR" "${context_states[$current_state]}" "${content}"
|
"$1_prompt_segment" "${0}_${current_state}" "$2" "$DEFAULT_COLOR" "${context_states[$current_state]}" "${content}"
|
||||||
|
|||||||
Reference in New Issue
Block a user