Skip to content

Instantly share code, notes, and snippets.

@cogumm
Created June 11, 2020 22:36
Show Gist options
  • Save cogumm/b4a55b44eaad8bf171b89a281ceeb496 to your computer and use it in GitHub Desktop.
Save cogumm/b4a55b44eaad8bf171b89a281ceeb496 to your computer and use it in GitHub Desktop.
My personal config from Oh My ZSH.
### Spaceship config
ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ORDER=(
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
hg # Mercurial section (hg_branch + hg_status)
exec_time # Execution time
line_sep # Line break
vi_mode # Vi-mode indicator
jobs # Background jobs indicator
exit_code # Exit code section
char # Prompt character
)
SPACESHIP_CHAR_SYMBOL="∞"
SPACESHIP_CHAR_SUFFIX=" "
SPACESHIP_USER_COLOR=cyan
SPACESHIP_USER_SHOW=always
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_HOST_SHOW=always
SPACESHIP_HOST_SSH_COLOR=green
### ZPlugin
zplugin light zdharma/fast-syntax-highlighting
zplugin light zsh-users/zsh-autosuggestions
zplugin light zsh-users/zsh-history-substring-search
zplugin light zsh-users/zsh-completions
zplugin light buonomo/yarn-completion
### NVM config
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
### AndroidStudio config
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export ANDROID_HOME=~/dev/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:~/dev/Android/android-studio/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment