G
G
Gob_L1n2021-02-06 14:06:09
linux
Gob_L1n, 2021-02-06 14:06:09

How to remove the arrow icon in zsh?

This green arrow is very annoying. Tell me how to remove it?
601e7817dd8a6584289434.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2021-02-06
@Zarom

Prompt is set in the ~/.zshrc file in the PROMPT variable .
To check, you can simply change the value of the environment variable before writing it in the file

B
BorLaze, 2021-02-06
@BorLaze

I changed it to a tick and a cross

export PROMPT="%(?:%{$fg_bold[green]%}✔:%{$fg_bold[red]%}✘)%{$reset_color%}%{$fg[gray]%}[%T]%{$reset_color%} %{$fg[blue]%}%~%{$reset_color%} $ "

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question