summaryrefslogtreecommitdiff
path: root/.config/zsh/rc/prompt.rc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/rc/prompt.rc')
-rwxr-xr-x.config/zsh/rc/prompt.rc17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/zsh/rc/prompt.rc b/.config/zsh/rc/prompt.rc
new file mode 100755
index 0000000..9792215
--- /dev/null
+++ b/.config/zsh/rc/prompt.rc
@@ -0,0 +1,17 @@
+# 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="$host"