Skip to content

Instantly share code, notes, and snippets.

@xergio
Created June 21, 2019 14:43
Show Gist options
  • Save xergio/5cfd59017801aad5a25b9a9d5f6b0221 to your computer and use it in GitHub Desktop.
Save xergio/5cfd59017801aad5a25b9a9d5f6b0221 to your computer and use it in GitHub Desktop.
terminal
# Install ZSH, Oh-My-Zsh and Pure
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:/home/salvarez/.local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/salvarez/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME=""
plugins=(git)
source $ZSH/oh-my-zsh.sh
# Pure: https://github.com/sindresorhus/pure
autoload -U promptinit; promptinit
PURE_CMD_MAX_EXEC_TIME=2
PURE_GIT_PULL=1
PURE_GIT_UNTRACKED_DIRTY=1
PURE_PROMPT_SYMBOL="\$"
zstyle :prompt:pure:path color 033
zstyle :prompt:pure:prompt:success color 048
zstyle :prompt:pure:prompt:error color 160
zstyle :prompt:pure:git:branch color 166
zstyle :prompt:pure:git:branch:cached color 163
zstyle :prompt:pure:git:arrow color 087
prompt pure
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# https://github.com/zsh-users/zsh-syntax-highlighting
#source /home/salvarez/bin/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment