Pastebin

Paste #3825: zsh prompt

< previous paste - next paste>

Pasted by tdn

Download View as text

local prompt_color=${(%):-%(!.$fg_bold[red].$fg_bold[green])}

export PROMPT="%{$fg_no_bold[white]%}(%{$prompt_color%}%n@%M%{$fg_no_bold[white]%}) \
(%{$fg_no_bold[$prompt_color]%}%D %D{%T}%{$fg_no_bold[white]%}) (%{$fg_no_bold[green]%}P:%j L:%L%{$fg_no_bold[white]%}) [%?]
%{$fg_bold[white]%}%~ %{$fg_no_bold[white]%}%(!.#.$) "

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.