Skip to content

Instantly share code, notes, and snippets.

@jl2
Created February 25, 2016 18:37
Show Gist options
  • Save jl2/9b411b72e200ab9af86c to your computer and use it in GitHub Desktop.
Save jl2/9b411b72e200ab9af86c to your computer and use it in GitHub Desktop.
export LS_COLORS='di=33'
alias ls='ls --color=auto'
alias ll='ls -alF --color=auto'
alias la='ls -A --color=auto'
alias l='ls -CF --color=auto'
alias lsd='ls -d --color=auto */'
alias grep='grep -in --color=auto'
alias fgrep='fgrep -in --color=auto'
alias egrep='egrep -in --color=auto'
alias ..="cd .."
alias ...="cd ../.."
alias zkCli="rlwrap zkCli.sh"
export PATH=/usr/clang/bin:~/bin:$PATH
export IDPATH=/usr/include/ID
export TEMP=/tmp
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt incappendhistory extendedhistory
export PAGER=less
alias more=less
unsetopt beep
bindkey -e
LESS="-X"
export LESS
zstyle :compinstall filename '/home/jeremiah/.zshrc'
autoload -U colors && colors
export ALTERNATE_EDITOR=emacs
export PROMPT="%{$fg_bold[magenta]%}%D%{$reset_color%} %{$fg_bold[yellow]%}%*%{$reset_color%} %? %{$fg_bold[yellow]%} %~ %{$reset_color%} > "
export RPROMPT=
alias browse="/home/jeremiah/oss/chrome-linux/chrome"
export EDITOR=emacsclient
export VISUAL=emacsclient
export BROWSER=/home/jeremiah/oss/chrome-linux/chrome
alias ec="emacsclient -n"
# Fix gdb silliness
alias gdb="gdb --data-directory=/usr/local/gdb-7.6.1-p1/python/gdb"
alias lisp="rlwrap lisp --noinform"
# Fix it for make gdbtest
export GDB_ARGS=--data-directory=/usr/local/gdb-7.6.1-p1/python/gdb
# export CXX=g++-4.8.1-p1
# export CXXFLAGS="--std=c++11 -Wall"
# export CC=gcc-4.8.1-p1
# export CFLAGS="--std=c11 -Wall"
export CHROME_DEVEL_SANDBOX=/home/jeremiah/oss/chrome-linux/chrome_sandbox
export PYTHONPATH=/home/jeremiah/solidfire/autotest2/jeremiah-autoplatform:/home/jeremiah/solidfire/autotest2/jeremiah-recorder-autotest-content:/home/jeremiah/solidfire/autotest2/jeremiah-recorder-autotest-content/steps
export KILN=https://solidfire.kilnhg.com/Code/Repositories/SolidFire
export CXX=g++-4.8.1-p1
export CC=gcc-4.8.1-p1
export BOOST_VERSION=1.57.0-p3
export CXX_VERSION=c++11
export CC_VERSION=c11
# export CC=clang
# export CXX=clang++
# export CXX1X="clang++ --std=c++11"
export BOOST_DIR=/usr/local/lib/boost
export LD_LIBRARY_PATH=$BOOST_DIR:/usr/local/lib/curl
setopt autopushd pushdignoredups
autoload -Uz compinit
compinit
zstyle ':completion:*' verbose yes
zstyle ':completion:*:descriptions' format '%B%d%b'
zstyle ':completion:*:messages' format '%d'
zstyle ':completion:*:warnings' format 'No matches for: %d'
zstyle ':completion:*' group-name ''
zstyle ":completion:*" matcher-list 'm:{A-Za-z}={a-zA-Z}'
fpath=(~/.zsh_stuff $fpath)
autoload -U ~/.zsh_stuff/*(:t)
r() {
local f
f=(~/.zsh_stuff/*(.))
unfunction $f:t 2> /dev/null
autoload -U $f:t
}
unset GNOME_KEYRING_CONTROL
unset GNOME_KEYRING_PID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment