diff --git a/zsh/.zshrc b/zsh/.zshrc index 699352c..aab8c50 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -8,6 +8,9 @@ alias ff='fastfetch' if ! command -v zap &>/dev/null; then zsh <(curl -s https://raw.githubusercontent.com/zap-zsh/zap/master/install.zsh) --branch release-v1 fi +if ! command -v starship &>/dev/null; then + curl -sS https://starship.rs/install.sh | sh +fi [ -f "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh" ] && source "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh" plug "zsh-users/zsh-autosuggestions" @@ -21,6 +24,7 @@ plug "Aloxaf/fzf-tab" autoload -Uz compinit compinit + eval "$(starship init zsh)" if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then