Pastebin

Paste #2924: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

~ # print -P %D{%T}
12:41:06



### This is in zshrc:
export PROMPT="%{$fg_no_bold[white]%}(%{$prompt_color%}%n@%M%{$fg_no_bold[white]%}) \
(%{$fg_no_bold[$prompt_color]%}%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]%}%(!.#.$) "




## gives the following prompt:
(root@malbec) (12:44:15 ) (P:0 L:2) [0]
~ # 



# I would expect:
(root@malbec) (14-05-04 12:41:06 ) (P:0 L:2) [0]
~ # 

New Paste


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

Go to most recent paste.