sbcli: better prompt; zsh: better prompt and cowsay

This commit is contained in:
2019-04-15 20:32:24 +02:00
parent c7d53d76c7
commit 7799367b58
2 changed files with 7 additions and 6 deletions

8
zshrc
View File

@@ -105,11 +105,11 @@ function rprompt-git-current-branch {
color=%B%F{blue}
fi
echo "on %{$fg[white]%}$color$name$action%f%b %{$reset_color%}"
echo "%{$fg[white]%}$color$name$action%f%b%{$reset_color%}"
}
RPROMPT='`rprompt-git-current-branch`'
RPROMPT+="%{$reset_color%}%{$fg[yellow]%}%~%{$reset_color%}"
RPROMPT='`rprompt-git-current-branch`'
RPROMPT+="%{$reset_color%}%{$fg[yellow]%}%~%{$reset_color%}"
save_dotfiles(){
local DOTPATH=~/Documents/Code/Github/.dotfiles/
@@ -198,7 +198,7 @@ function ghcl {
git clone git@github.com:$1.git
}
fortune | cowsay
fortune | cowsay -f koala
# eval `opam config env`