Skip to content

Instantly share code, notes, and snippets.

@owenvoke
Last active November 12, 2022 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save owenvoke/9070c3dbd6483d69a4b376f9dbcb9e62 to your computer and use it in GitHub Desktop.
Save owenvoke/9070c3dbd6483d69a4b376f9dbcb9e62 to your computer and use it in GitHub Desktop.
#
# Starship Zplug
# https://github.com/starship/starship
#
# Add the following to your ".zshrc":
# zplug "pxgamer/9070c3dbd6483d69a4b376f9dbcb9e62", use:starship.zsh, from:gist, as:theme
export STARSHIP_VERSION='0.26.4'
STARSHIP_LATEST_RELEASE=https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-gnu.tar.gz
if [[ ! $(command -v starship) || "$(starship --version)" != "starship ${STARSHIP_VERSION}" ]]; then
wget -q -O - ${LATEST_RELEASE} | tar xz
sudo mv starship /usr/local/bin/
echo "Installed $(starship --version)"
fi
eval "$(starship init zsh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment