sbcli: better prompt; zsh: better prompt and cowsay

This commit is contained in:
hellerve committed 2019-04-15 20:32:24 +02:00
1 parent c7d53d76c7
commit 7799367b58
2 files changed
+7 -6

No files matched your search

+4 -4
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`