Created
February 12, 2018 13:36
-
-
Save psy901/8048f36b3c96a2f12eda3bac83fe7108 to your computer and use it in GitHub Desktop.
my zshrc setup
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
# If you come from bash you might have to change your $PATH. | |
export PATH=$PATH:$HOME/bin:/usr/local/bin:~/.composer/vendor/bin:/usr/local/apache-maven/apache-maven-3.3.9/bin:/anaconda/bin | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
export PATH="$PATH:$HOME/.rvm/bin" | |
eval "$(rbenv init -)" | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/sangyunpark/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="spaceship" | |
# ORDER | |
SPACESHIP_PROMPT_ORDER=( | |
time | |
user | |
host | |
dir | |
git | |
hg | |
node | |
".zshrc" 303L, 9315C | |
# If you come from bash you might have to change your $PATH. | |
export PATH=$PATH:$HOME/bin:/usr/local/bin:~/.composer/vendor/bin:/usr/local/apache-maven/apache-maven-3.3.9/bin:/anaconda/bin | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
export PATH="$PATH:$HOME/.rvm/bin" | |
eval "$(rbenv init -)" | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/sangyunpark/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="spaceship" | |
# ORDER | |
SPACESHIP_PROMPT_ORDER=( | |
time | |
user | |
host | |
dir | |
git | |
hg | |
node | |
ruby | |
# If you come from bash you might have to change your $PATH. | |
export PATH=$PATH:$HOME/bin:/usr/local/bin:~/.composer/vendor/bin:/usr/local/apache-maven/aa | |
pache-maven-3.3.9/bin:/anaconda/bin | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
export PATH="$PATH:$HOME/.rvm/bin" | |
eval "$(rbenv init -)" | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/sangyunpark/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="spaceship" | |
# ORDER | |
SPACESHIP_PROMPT_ORDER=( | |
time | |
user | |
host | |
dir | |
git | |
hg | |
node | |
ruby | |
xcode | |
swift | |
golang | |
php | |
rust | |
julia | |
docker | |
venv | |
pyenv | |
exec_time | |
line_sep | |
vi_mode | |
char | |
) | |
# PROMPT | |
SPACESHIP_PROMPT_SYMBOL="➜" | |
# If you come from bash you might have to change your $PATH. | |
export PATH=$PATH:$HOME/bin:/usr/local/bin:~/.composer/vendor/bin:/usr/local/apache-maven/apache-maven-3.3.9/bin:/anaconda/bin | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
export PATH="$PATH:$HOME/.rvm/bin" | |
eval "$(rbenv init -)" | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/sangyunpark/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="spaceship" | |
# ORDER | |
SPACESHIP_PROMPT_ORDER=( | |
time | |
user | |
host | |
dir | |
git | |
hg | |
node | |
ruby | |
xcode | |
swift | |
golang | |
php | |
rust | |
julia | |
docker | |
venv | |
pyenv | |
exec_time | |
line_sep | |
vi_mode | |
char | |
) | |
# PROMPT | |
SPACESHIP_PROMPT_SYMBOL="➜" | |
SPACESHIP_PROMPT_ADD_NEWLINE=true | |
SPACESHIP_PROMPT_SEPARATE_LINE=true | |
SPACESHIP_PROMPT_PREFIXES_SHOW=true | |
SPACESHIP_PROMPT_SUFFIXES_SHOW=true | |
SPACESHIP_PROMPT_DEFAULT_PREFIX="via " | |
SPACESHIP_PROMPT_DEFAULT_SUFFIX=" " | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
# Add wisely, as too many plugins slow down shell startup. | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# User configuration | |
# export MANPATH="/usr/local/man:$MANPATH" | |
# You may need to manually set your language environment | |
# export LANG=en_US.UTF-8 | |
# Preferred editor for local and remote sessions | |
# if [[ -n $SSH_CONNECTION ]]; then | |
# export EDITOR='vim' | |
# else | |
# export EDITOR='mvim' | |
# fi | |
# Compilation flags | |
# export ARCHFLAGS="-arch x86_64" | |
# ssh | |
# export SSH_KEY_PATH="~/.ssh/rsa_id" | |
# Set personal aliases, overriding those provided by oh-my-zsh libs, | |
# plugins, and themes. Aliases can be placed here, though oh-my-zsh | |
# users are encouraged to define aliases within the ZSH_CUSTOM folder. | |
# For a full list of active aliases, run `alias`. | |
# | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" | |
# alias ohmyzsh="mate ~/.oh-my-zsh" | |
alias artisan="php artisan" | |
alias python=python3 | |
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. | |
source /Users/sangyunpark/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
source "/Users/sangyunpark/.oh-my-zsh/custom/themes/spaceship.zsh-theme" | |
export PATH=/Users/sangyunpark/.rbenv/shims:/Users/sangyunpark/.rbenv/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Library/TeX/texbin:/Users/sangyunpark/bin:/usr/local/bin:/Users/sangyunpark/.composer/vendor/bin:/usr/local/apache-maven/apache-maven-3.3.9/bin:/anaconda/bin:/Users/sangyunpark/.rvm/bin:/Users/sangyunpark/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment