diff options
| author | Paul Iannetta <paul.iannetta@inria.fr> | 2018-11-19 00:51:01 +0100 |
|---|---|---|
| committer | Paul Iannetta <paul.iannetta@inria.fr> | 2018-11-19 00:51:01 +0100 |
| commit | b209dd98527fd357e716d44ec4adb430504eae56 (patch) | |
| tree | 4269768238d352dea0f2cd079c27379418d502c3 /.config/zsh/rc/prompt.rc | |
| parent | 52967fde6b3424372a5d4790e6c5c21dc3096913 (diff) | |
zsh dot files
Diffstat (limited to '.config/zsh/rc/prompt.rc')
| -rwxr-xr-x | .config/zsh/rc/prompt.rc | 17 |
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" |
