Restore Starship prompt

This commit is contained in:
Fabio Scotto di Santolo
2025-08-28 23:24:50 +02:00
parent b0da590751
commit 5f00a968e4

View File

@@ -41,8 +41,11 @@ source <(fzf --zsh) # allow for fzf history widget
bindkey -e bindkey -e
# set up prompt # set up prompt
NEWLINE=$'\n' # NEWLINE=$'\n'
PROMPT='%F{blue}%B%~%b%f %F{green}%f ' # 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 # load plugins
ZSH_PLUGINS_DIR="$ZSH_HOME/plugins" ZSH_PLUGINS_DIR="$ZSH_HOME/plugins"
@@ -81,6 +84,6 @@ alias userlist="cut -d: -f1 /etc/passwd | sort"
alias ip='ip -color' alias ip='ip -color'
alias stow='stow -d $DOTFILES ' alias stow='stow -d $DOTFILES '
# if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
# tmux attach-session -t default || tmux new-session -s default tmux attach-session -t default || tmux new-session -s default
# fi fi