Skip to content

Instantly share code, notes, and snippets.

@shrinkray
Created June 17, 2021 22:41
Show Gist options
  • Save shrinkray/31145b2d4ac32b388ceb4f9ab474ef64 to your computer and use it in GitHub Desktop.
Save shrinkray/31145b2d4ac32b388ceb4f9ab474ef64 to your computer and use it in GitHub Desktop.
# Requirements
# To work correctly, you will first need:
# zsh (v5.2 or recent) must be installed.
# Powerline Font must be installed and used in your terminal (for example, switch font to Fira Code).
ZSH_THEME="spaceship"
# Set Spaceship ZSH as a prompt
# autoload -U promptinit; promptinit
# prompt spaceship
# source /usr/local/share/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# https://github.com/spaceship-prompt/spaceship-prompt
SPACESHIP_TIME_12HR="true"
SPACESHIP_TIME_SHOW="true"
SPACESHIP_HOST_SHOW="true"
SPACESHIP_DIR_SHOW="true"
SPACESHIP_DIR_TRUNC="1"
SPACESHIP_DIR_TRUNC_PREFIX="…/"
SPACESHIP_DIR_TRUNC_REPO="true"
SPACESHIP_PACKAGE_SHOW="false"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment