From 6f9e49339221d1da97d5bbceee4856a4e81f530f Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 28 Sep 2021 19:14:29 +0200 Subject: zsh: Use starship for prompt .zshrc: Use starship for prompt if it is installed. --- .zshrc | 10 ++-------- 1 file 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)" -- cgit v1.2.3-70-g09d2