summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-12-19 19:10:02 +0100
committerAlan Pearce2018-12-19 19:10:02 +0100
commit44347792071cba80a2701a796ee883a97150d84e (patch)
tree400387ed5b21b5e4575d7edae20aa1273e9303e9
parent0c84edad3f2174ef57a62ec125d1181506fbf55a (diff)
downloaddotfiles-44347792071cba80a2701a796ee883a97150d84e.tar.lz
dotfiles-44347792071cba80a2701a796ee883a97150d84e.tar.zst
dotfiles-44347792071cba80a2701a796ee883a97150d84e.zip
zsh: Set a basic fallback prompt
-rw-r--r--zsh/.config/zsh/.zshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 05b609a..3dddc15 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -208,10 +208,11 @@ then
   fi
 fi
 
+PROMPT='%B%F{green}%n %F{blue}%~%b
+%# '
 if [[ $TERM == "dumb" ]]
 then
   unsetopt zle
-  PROMPT="> "
 else
   AGKOZAK_PROMPT_DIRTRIM=0
 
@@ -232,6 +233,7 @@ else
   precmd_functions+=(check_kubectl_context)
   AGKOZAK_CUSTOM_RPROMPT='${prompt_context}%(3V.%F{${AGKOZAK_COLORS_BRANCH_STATUS}%3v%f.)'
 fi
+zplugin light agkozak/agkozak-zsh-prompt
 
 zplugin light "mollifier/anyframe"
 if [[ -n $commands[fzf] ]]