Created
January 31, 2019 01:26
-
-
Save zoecarver/24492f1bc4ec9cc4ebba0c66eb437110 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# theme | |
POWERLEVEL9K_MODE='nerdfont-complete' | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='' | |
POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='' | |
POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='' | |
POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='' | |
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%F{blue}\u256D\u2500%F{white}" | |
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{blue}\u2570\uf460%F{white} " | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(root_indicator dir dir_writable_joined) | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(command_execution_time vcs background_jobs_joined) | |
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND="clear" | |
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND="clear" | |
POWERLEVEL9K_VCS_MODIFIED_FOREGROUND="yellow" | |
POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND="yellow" | |
POWERLEVEL9K_DIR_HOME_BACKGROUND="clear" | |
POWERLEVEL9K_DIR_HOME_FOREGROUND="blue" | |
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND="clear" | |
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="blue" | |
POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_BACKGROUND="clear" | |
POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_FOREGROUND="red" | |
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND="clear" | |
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="white" | |
POWERLEVEL9K_ROOT_INDICATOR_BACKGROUND="red" | |
POWERLEVEL9K_ROOT_INDICATOR_FOREGROUND="white" | |
POWERLEVEL9K_STATUS_OK_BACKGROUND="clear" | |
POWERLEVEL9K_STATUS_OK_FOREGROUND="clear" | |
POWERLEVEL9K_STATUS_ERROR_BACKGROUND="clear" | |
POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red" | |
POWERLEVEL9K_TIME_BACKGROUND="white" | |
POWERLEVEL9K_TIME_FOREGROUND="clear" | |
POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND='clear' | |
POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND='clear' | |
POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND='clear' | |
POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND='clear' | |
# Preferred editor for local and remote sessions | |
if [[ -n $SSH_CONNECTION ]]; then | |
export EDITOR='vim' | |
else | |
export EDITOR='mvim' | |
fi | |
# powerlevel theme | |
export ZSH_THEME="powerlevel9k/powerlevel9k" | |
# zsh | |
export ZSH="/Users/zoe/.oh-my-zsh" | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# anaconda | |
export PATH=/Users/zoe/anaconda2/bin:$PATH | |
export PATH="/usr/local/opt/opencv@2/bin:$PATH" | |
# The next line updates PATH for the Google Cloud SDK. | |
if [ -f '/Users/zoe/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/zoe/Downloads/google-cloud-sdk/path.zsh.inc'; fi | |
# The next line enables shell command completion for gcloud. | |
if [ -f '/Users/zoe/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/zoe/Downloads/google-cloud-sdk/completion.zsh.inc'; fi | |
# android sudios (emulator) | |
alias emulator=~/Library/Android/sdk/tools/emulator | |
export PATH=/usr/local/opt/llvm/bin:$PATH | |
export CPLUS_INCLUDE_PATH=$(llvm-config --includedir):$CPLUS_INCLUDE_PATH | |
export LD_LIBRARY_PATH=$(llvm-config --libdir):$LD_LIBRARY_PATH | |
export PATH="/usr/local/opt/llvm@6/bin:$PATH" | |
# android | |
export PATH=$PATH:~/Library/Android/sdk/platform-tools | |
. /Users/zoe/torch/install/bin/torch-activate | |
export PATH="/usr/local/opt/llvm/bin:$PATH" | |
# dotevn (express secrets / env files) | |
eval "$(direnv hook zsh)" | |
# LLVM | |
export PATH=/usr/local/opt/llvm/bin:$PATH | |
export CPLUS_INCLUDE_PATH=$(llvm-config --includedir):$CPLUS_INCLUDE_PATH | |
export LD_LIBRARY_PATH=$(llvm-config --libdir):$LD_LIBRARY_PATH | |
# Go | |
export GOPATH=$HOME/go | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:/usr/local/opt/go/libexec/bin | |
# ssh | |
export SSH_KEY_PATH="~/.ssh/rsa_id" | |
# misk | |
export LANG=en_US.UTF-8 | |
export MANPATH="/usr/local/man:$MANPATH" | |
# plugin | |
plugins=(git) | |
# aliases | |
alias c="clear && ls" | |
alias etcher="/opt/./Etcher-linux-x64.AppImage" | |
alias gatz="chmod -R ugo+rw /home/zoe/" | |
alias 1="../" | |
alias 2="../../" | |
alias 3="../../../" | |
alias 4="../../../../" | |
alias gitHow="echo 'git add <file> \n git commit -m <message> \n git push --set-upstream origin master'" | |
alias androidStudio="sudo -H -u zoe bash -c '/opt/android-studio/bin/studio.sh'" | |
alias s="git status" | |
alias startEmulator="~/Library/Android/sdk/tools/emulator -avd Pixel_API_26 -netspeed full -netdelay none" | |
alias n-run="./run.sh" | |
alias vim="nvim" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment