summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index 97487520..c664866d 100644
--- a/.zshrc
+++ b/.zshrc
@@ -43,7 +43,7 @@ alias gd='git diff'
 alias gl='git log --graph --pretty=log'
 
 setopt prompt_subst
-[[ -n "$SSH_CLIENT" ]] && _prompt_ssh="$fg[magenta]"
+[[ -n "$SSH_CLIENT" ]] && _prompt_ssh='%F{magenta}'
 _prompt_git() {
   local dotgit=.git head
   [[ -d "$dotgit" ]] || dotgit=../.git
@@ -54,8 +54,8 @@ _prompt_git() {
     *) echo ":${head:0:7}";;
   esac
 }
-PROMPT='%{%(?.$fg[green]$_prompt_ssh.$fg[red])%}»%{$reset_color%} '
-RPROMPT='%{$fg[blue]%}%50<…<%~%{$fg[yellow]%}$(_prompt_git)%{$reset_color%}'
+PROMPT="%(?.%F{green}$_prompt_ssh.%F{red})»%f "
+RPROMPT='%F{blue}%50<…<%~%F{yellow}$(_prompt_git)%f'
 
 typeset -ga preexec_functions precmd_functions
 
20-02-20 04:36:05 -0500'>2020-02-20Remove wiki scriptJune McEnroe 2020-02-19Add The Obelisk GateJune McEnroe 2020-02-17Add Four Tet — HandsJune McEnroe 2020-02-12Simplify macOS notify-sendJune McEnroe 2020-02-12Add imbox and notemap to pageJune McEnroe 2020-02-12Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe 2020-01-28Change scout sensitivity to 1.4June McEnroe 2020-01-28Import shows.txtJune McEnroe