chore(zsh): various tweaks to zsh env setup and helpers

This commit is contained in:
2024-01-06 15:10:15 +00:00
parent a304b0bb26
commit 9526b57d38
6 changed files with 46 additions and 16 deletions

5
zshrc
View File

@@ -116,6 +116,11 @@ fi
# Prompt
# ==============================================================================
if ! command-exists starship; then
read -q 'REPLY?starship is not installed, install with `rtx install starship`? [y/N]:' &&
echo && rtx install starship
fi
if command-exists starship; then
eval "$(starship init zsh --print-full-init)"