From 7799367b58989c9e9d9f869a30135c33f0a63618 Mon Sep 17 00:00:00 2001 From: hellerve Date: Mon, 15 Apr 2019 20:32:24 +0200 Subject: [PATCH] sbcli: better prompt; zsh: better prompt and cowsay --- sbclirc | 5 +++-- zshrc | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/sbclirc b/sbclirc index b9ad6ef..3f4bb63 100644 --- a/sbclirc +++ b/sbclirc @@ -28,5 +28,6 @@ (defun colorize (color var) (format nil "~a[~dm~a~a[0m" (code-char 27) (gethash color *colors*) var (code-char 27))) -(setf *prompt* (colorize :bold (colorize :blue *prompt*))) -(setf *ret* (colorize :bold (colorize :red *ret*))) +(setf *prompt* (colorize :bold (colorize :blue "λ "))) +(setf *prompt2* (colorize :bold (colorize :blue "λ₂ "))) +(setf *ret* (colorize :bold (colorize :red "⇒ "))) diff --git a/zshrc b/zshrc index 59caf0d..f15896e 100644 --- a/zshrc +++ b/zshrc @@ -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`