aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-09-28 19:14:29 +0200
committerDavid Runge <dave@sleepmap.de>2021-09-28 19:14:29 +0200
commit6f9e49339221d1da97d5bbceee4856a4e81f530f (patch)
tree59f8854a8dbe50ab553c07945838adfabfcdade7
parent8a2d21fd40c772802b47113e908b9523615df2d8 (diff)
downloaddotfiles-6f9e49339221d1da97d5bbceee4856a4e81f530f.tar.gz
dotfiles-6f9e49339221d1da97d5bbceee4856a4e81f530f.tar.bz2
dotfiles-6f9e49339221d1da97d5bbceee4856a4e81f530f.tar.xz
dotfiles-6f9e49339221d1da97d5bbceee4856a4e81f530f.zip
zsh: Use starship for prompt
.zshrc: Use starship for prompt if it is installed.
-rw-r--r--.zshrc10
1 files changed, 2 insertions, 8 deletions
diff --git a/.zshrc b/.zshrc
index 5c564de..02940a0 100644
--- a/.zshrc
+++ b/.zshrc
@@ -439,11 +439,5 @@ done
#
for config_file ($HOME/.zsh.after/*.zsh) source $config_file
-
-# Prompt
-#
-
-# Load and execute the prompt theming system.
-autoload -Uz promptinit && promptinit
-prompt dvzrv
-unset prompt_argv
+# use starship for prompt if it exists
+(( ${+commands[starship]} )) && eval "$(starship init zsh)"