Last active
November 12, 2022 19:27
-
-
Save owenvoke/9070c3dbd6483d69a4b376f9dbcb9e62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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