summaryrefslogtreecommitdiff
path: root/.config/zsh/rc/prompt.rc
blob: ce0e39db6a6d020ca949b1010765bfe80756e9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# vim: ft=zsh

# for have colors
autoload -U colors
colors

host_color="yellow"
path_color="blue"
user_color="green"
cmd_color="magenta"

host="%{$fg[$user_color]%}%n%{$reset_color%}@%{$fg[$host_color]%}%m%{$reset_color%}"
cpath="%B%{$fg[$path_color]%}%~%b"
time="%{$fg[$time_color]%}%T%{$reset_color%}"
end="%{$fg[$cmd_color]%}%%%{$reset_color%} "

#PS1=" $cpath $end"
PS1=" $end"
RPS1="#%h"
#RPS1="$host#%h"