Skip to content

Instantly share code, notes, and snippets.

@jasesuperhero
Created November 12, 2018 09:53
Show Gist options
  • Save jasesuperhero/9fb76d660d987dc6207fc6ab476791ad to your computer and use it in GitHub Desktop.
Save jasesuperhero/9fb76d660d987dc6207fc6ab476791ad to your computer and use it in GitHub Desktop.
source /usr/local/share/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle colored-man
antigen bundle colorize
antigen bundle virtualenv
antigen bundle swiftpm
antigen bundle ruby
antigen bundle nvm
antigen bundle node
antigen bundle brew
antigen bundle osx
antigen bundle pip
antigen bundle command-not-found
antigen bundle mafredri/zsh-async
antigen bundle lukechilds/zsh-nvm
antigen bundle junegunn/fzf
antigen bundle zsh-users/zsh-history-substring-search
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-autosuggestions
# Load the theme.
antigen theme https://github.com/denysdovhan/spaceship-zsh-theme spaceship
SPACESHIP_PROMPT_ORDER=(
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
package # Package version
node # Node.js section
ruby # Ruby section
elixir # Elixir section
xcode # Xcode section
swift # Swift section
golang # Go section
php # PHP section
rust # Rust section
haskell # Haskell Stack section
docker # Docker section
venv # virtualenv section
pyenv # Pyenv section
kubecontext # Kubectl context section
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
)
antigen apply
SPACESHIP_PROMPT_SYMBOL="❯"
SPACESHIP_CHAR_COLOR_SUCCESS="purple"
export PATH=$PATH:/usr/local/opt/go/libexec/bin
export PATH="$PATH:$HOME/.rvm/bin"
export PATH="$HOME/bin:$PATH";
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
# Load the shell dotfiles, and then some:
# * ~/.path can be used to extend `$PATH`.
# * ~/.extra can be used for other settings you don’t want to commit.
for file in ~/.{exports,aliases,functions,extra}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
unset file;
# Add tab completion for many Bash commands
if which brew &> /dev/null && [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
source "$(brew --prefix)/share/bash-completion/bash_completion";
elif [ -f /etc/bash_completion ]; then
source /etc/bash_completion;
fi;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment