From 980fc9aa7d3ada214a48bb9345e02631dbc02cc3 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 31 Jan 2023 15:38:41 +0200 Subject: [PATCH] zsh: Installed starship https://starship.rs/ --- Brewfile | 2 ++ zshrc | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Brewfile b/Brewfile index fae69cb..addd147 100644 --- a/Brewfile +++ b/Brewfile @@ -148,6 +148,8 @@ brew "ruby" brew "shellcheck" # Autoformat shell script source code brew "shfmt" +# Cross-shell prompt for astronauts +brew "starship" # Version control system designed to be a better CVS brew "subversion" # Send macOS User Notifications from the command-line diff --git a/zshrc b/zshrc index eca584a..b755536 100644 --- a/zshrc +++ b/zshrc @@ -65,7 +65,7 @@ ssh-add -A 2>/dev/null; if command -v antigen &> /dev/null; then antigen use oh-my-zsh - antigen theme oskarkrawczyk/honukai-iterm-zsh honukai + # antigen theme oskarkrawczyk/honukai-iterm-zsh honukai antigen bundle ssh-agent antigen bundle colored-man-pages @@ -114,5 +114,7 @@ if hash gcloud 2>/dev/null; then [[ -f "$GCLOUD_LOC/completion.zsh.inc" ]] && builtin source "$GCLOUD_LOC/completion.zsh.inc" fi +eval "$(starship init zsh)" + # Fig post block. Keep at the bottom of this file. [[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.post.zsh"