clear
fixes the problem, seemingly. Could this be a "cursor thought to be on wrong line" problem?
source
lines. If the problem still reproduces, replace the source ~/.p10k.zsh
line with POWERLEVEL9K_TRANSIENT_PROMPT=always
. If it still reproduces, replace the last line with POWERLEVEL9K_TRANSIENT_PROMPT=off
.
locale && locale -a
?
❯ locale && locale -a
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
C
C.UTF-8
en_US.utf8
POSIX
I want to disable everything on the right, so that everything appears on the right of the prompt.
You can customize what's shown on the right by opening ~/.p10k.zsh
and editing the content of POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS
close to the top of the file.
When open Iterm
/Users/yyp_yang/.zshrc:9: command not found: i#
put typeset -pm 'POWERLEVEL9K_INSTANT_PROMPT|ZSH_VERSION'
Terms output:
typeset ZSH_VERSION=5.8.1
typeset POWERLEVEL9K_INSTANT_PROMPT=quiet
.zshrc file top
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi