From b209dd98527fd357e716d44ec4adb430504eae56 Mon Sep 17 00:00:00 2001 From: Paul Iannetta Date: Mon, 19 Nov 2018 00:51:01 +0100 Subject: zsh dot files --- .config/zsh/rc/prompt.rc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 .config/zsh/rc/prompt.rc (limited to '.config/zsh/rc/prompt.rc') 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" -- cgit v1.2.3-54-g00ecf