dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 98e7b45eda60b7cec3797edd77d17945d0eea2e4
parent d9f26e906dbe0e4151f1ce9092c0f38e10693398
Author: pyratebeard <root@pyratebeard.net>
Date:   Thu, 27 Jul 2017 20:22:47 +0100

changed tiny prompt from chevons to colon

Diffstat:
Mzsh/.zsh/prompt.zsh | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/zsh/.zsh/prompt.zsh b/zsh/.zsh/prompt.zsh @@ -71,6 +71,9 @@ GIT_PROMPT() { classic) echo "${COLOR_NORMAL}─["${ref}${dirty}${stat}"]" ;; + tiny) + echo "${COLOR_NORMAL} ["${ref}${dirty}${stat}"]" + ;; *) echo "${USER_LEVEL}─[${COLOR_NORMAL}"${ref}${dirty}${stat}"${USER_LEVEL}]" ;; @@ -93,10 +96,11 @@ PROMPT='${USER_LEVEL}[${COLOR_NORMAL}%~${USER_LEVEL}]$(GIT_PROMPT)── - %f' ;; # tiny tiny) -PROMPT='${USER_LEVEL}[${COLOR_NORMAL}%~${USER_LEVEL}]$(GIT_PROMPT) >> %f' +PROMPT='${COLOR_NORMAL} % : ' +RPROMPT='%~ $(GIT_PROMPT)' ;; # classic *) -PROMPT='%F{cyan}${USERNAME}@%F{white}[${HOSTNAME}]$(GIT_PROMPT)%F{white} : %~# ' +PROMPT='%F{blue}${USERNAME}@%F{white}[${HOSTNAME}]$(GIT_PROMPT)%F{white} : %~# ' ;; esac