Skip to content

Instantly share code, notes, and snippets.

@jakemayeux
Created March 13, 2017 23:33
Show Gist options
  • Save jakemayeux/96557a075f1438fba7627e0a4a1341a0 to your computer and use it in GitHub Desktop.
Save jakemayeux/96557a075f1438fba7627e0a4a1341a0 to your computer and use it in GitHub Desktop.
alias helpless='--help | less'
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
alias vim="mvim"
alias basic-www='cp ~/templates/basic-www/* ./'
alias gate-sftp='sftp jmayeux@gateway.coe.neu.edu'
alias gate-ssh='ssh jmayeux@gateway.coe.neu.edu'
alias list-bin='echo $PATH | sed -e $'"'"'s/:/\\\n/g'"'"''
alias todo='todo.sh'
export TERM="xterm-256color"
export THEOS_DEVICE_IP=.local
export THEOS_DEVICE_PORT=22
export THEOS=/opt/theos
ZSH_THEME="powerlevel9k/powerlevel9k"
#RANGE=$(awk -v min=0 -v max=10 'BEGIN{srand(); print int(min+rand()*(max-min+1))}')
#JUMP=$(awk -v min=0 -v max=5 'BEGIN{srand(); print int(min+rand()*(max-min+1))}')
#BGCOLOR=$(($((26 + $RANGE)) + $((36 * $JUMP))))
BGCOLOR=blue
FGCOLOR=white
#BULLETTRAIN_TIME_12HR=true
#BULLETTRAIN_PROMPT_SEPARATE_LINE=true
#BULLETTRAIN_DIR_BG=$BGCOLOR
#BULLETTRAIN_DIR_FG=$FGCOLOR
#BULLETTRAIN_CONTEXT_BG=$BGCOLOR
#BULLETTRAIN_CONTEXT_FG=$FGCOLOR
#BULLETTRAIN_TIME_BG=$BGCOLOR
#BULLETTRAIN_TIME_FG=$FGCOLOR
#BULLETTRAIN_CONTEXT_HOSTNAME=%M
#BULLETTRAIN_PROMPT_CHAR="»"
#BULLETTRAIN_PROMPT_CHAR=("%{$fg[196]%}>>")
#BULLETTRAIN_PROMPT_ORDER=(
# time
# context
# dir
#)
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX="» "
POWERLEVEL9K_TIME_FOREGROUND=$FGCOLOR
POWERLEVEL9K_TIME_BACKGROUND=cyan
POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND=$FGCOLOR
POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND=$BGCOLOR
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND=$FGCOLOR
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND=$BGCOLOR
POWERLEVEL9K_DIR_HOME_FOREGROUND=$FGCOLOR
POWERLEVEL9K_DIR_HOME_BACKGROUND=$BGCOLOR
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND=$FGCOLOR
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND=$BGCOLOR
POWERLEVEL9K_HISTORY_FOREGROUND=$FGCOLOR
POWERLEVEL9K_HISTORY_BACKGROUND=$BGCOLOR
POWERLEVEL9K_LOAD_DEFAULT_FOREGROUND=$FGCOLOR
POWERLEVEL9K_LOAD_DEFAULT_BACKGROUND=$BGCOLOR
POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=$FGCOLOR
POWERLEVEL9K_LOAD_CRITICAL_BACKGROUND=$BGCOLOR
POWERLEVEL9K_LOAD_WARNING_FOREGROUND=$FGCOLOR
POWERLEVEL9K_LOAD_WARNING_BACKGROUND=$BGCOLOR
POWERLEVEL9K_RAM_FOREGROUND=$FGCOLOR
POWERLEVEL9K_RAM_BACKGROUND=$BGCOLOR
POWERLEVEL9K_SWAP_FOREGROUND=$FGCOLOR
POWERLEVEL9K_SWAP_BACKGROUND=$BGCOLOR
POWERLEVEL9K_TODO_FOREGROUND=$FGCOLOR
POWERLEVEL9K_TODO_BACKGROUND=$BGCOLOR
POWERLEVEL9K_TIME_FORMAT="%D{%m/%d}"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
#time
#todo
#context
dir
)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
#history
#load
#ram
#swap
time
)
set -g base-index 1
set -g pane-base-index 1
export LLVM_INCLUDE_PACKAGE=/usr/local/opt/llvm/include
export LLVM_LIBRARY_PACKAGE=/usr/local/opt/llvm/lib
export PATH="/Users/jdm/emsdk:/Users/jdm/emsdk/clang/fastcomp/build_incoming_64/bin:/Users/jdm/emsdk/node/4.1.1_64bit/bin:/Users/jdm/emsdk/emscripten/incoming:/Users/jdm/emsdk/binaryen/master:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/jdm/Applications/Wine Staging.app/Contents/Resources/start/bin:/Users/jdm/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/jdm/.gopath//bin/"
export EDITOR=vim
export ZSH=/Users/jdm/.oh-my-zsh
export GOPATH=~/.gopath/
export WINEPATH=/Users/jdm/Applications/Wine\ Staging.app/Contents/Resources/start/bin:/Users/jdm/Applications/Wine\ Staging.app/Contents/Resources/wine/bin
export RPATH=~/.cargo/bin/
export MYSQL_PATH=/usr/local/Cellar/mysql/5.7.17
export PATH=$PATH:$WINEPATH:$GOPATH:$RPATH:$MYSQL_PATH:~/bin/:/bin/:$THEOS/bin
export EMSDK="/Users/jdm/emsdk"
export EM_CONFIG="/Users/jdm/.emscripten"
export EMSCRIPTEN="/Users/jdm/emsdk/emscripten/incoming"
export BINARYEN_ROOT="/Users/jdm/emsdk/binaryen/master_64bit_binaryen"
export GOROOT=~/go
export PATH=$PATH:$GOROOT/bin
plugins=()
source $ZSH/oh-my-zsh.sh
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="false"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
#DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
# 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"
# source ~/powerlevel9k/powerlevel9k.zsh-theme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment