From 5f00a968e449106294a73099ed93933b97e7122c Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Thu, 28 Aug 2025 23:24:50 +0200 Subject: [PATCH] Restore Starship prompt --- zsh/.zshrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 693b214..e495d29 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -41,8 +41,11 @@ source <(fzf --zsh) # allow for fzf history widget bindkey -e # set up prompt -NEWLINE=$'\n' -PROMPT='%F{blue}%B%~%b%f %F{green}❯%f ' +# NEWLINE=$'\n' +# PROMPT='%F{blue}%B%~%b%f %F{green}❯%f ' +if command -v starship > /dev/null 2>&1; then + eval "$(starship init zsh)" +fi # load plugins ZSH_PLUGINS_DIR="$ZSH_HOME/plugins" @@ -81,6 +84,6 @@ alias userlist="cut -d: -f1 /etc/passwd | sort" alias ip='ip -color' alias stow='stow -d $DOTFILES ' -# if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then -# tmux attach-session -t default || tmux new-session -s default -# fi +if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then + tmux attach-session -t default || tmux new-session -s default +fi