diff options
author | David Runge <dave@sleepmap.de> | 2021-09-28 19:14:29 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2021-09-28 19:14:29 +0200 |
commit | 6f9e49339221d1da97d5bbceee4856a4e81f530f (patch) | |
tree | 59f8854a8dbe50ab553c07945838adfabfcdade7 | |
parent | 8a2d21fd40c772802b47113e908b9523615df2d8 (diff) | |
download | dotfiles-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-- | .zshrc | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -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)" |