Skip to content

Instantly share code, notes, and snippets.

@cotto
Created July 24, 2014 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cotto/b5b394e192d25aee2dfd to your computer and use it in GitHub Desktop.
Save cotto/b5b394e192d25aee2dfd to your computer and use it in GitHub Desktop.
alias cg='valgrind --tool=callgrind --dump-instr=yes --collect-jumps=yes'
alias chromium='chromium-browser'
alias chromium_fkill='ps aux|grep flash|grep chromium|sed -e "s/cotto[ ]*//" -e "s/ .*//"|xargs kill'
alias clr='colordiff|less -r'
alias clr='colordiff|less -R'
alias d='dbus-send --session /net/sf/roxterm/Options net.sf.roxterm.Options.SetColourScheme string:$ROXTERM_ID string:Default'
alias ddt='dbfdump --table'
alias firefox_fkill='ps aux|grep flash|grep firefox|sed -e "s/cotto[ ]*//" -e "s/ .*//"|xargs kill'
alias gai="git add -i"
alias gall='git log --patience -p|colordiff -lr|less -R'
alias gap="git add -p"
alias gca='git commit -a'
alias gcap='git commit -a && git push'
alias gccasm='gcc -Wa,-adhln -g'
alias gcl='git diff --cached --patience|colordiff|less -R'
alias gcl='git diff --patience --cached|colordiff|less -R'
alias gd='git diff --patience|colordiff'
alias gdl='git diff --patience|colordiff|less -R'
alias gds='git diff --patience|diffstat'
alias g="git"
alias g="git-achievements"
alias git="git-achievements"
alias gp='git pull'
alias gpr='git pull --rebase'
alias grubkill='sudo kill `ps aux|grep grub|grep root|sed -e "s/root[ ]*//" -e "s/ .*//g"`'
alias gx='git log --patience -p -n 50|colordiff -lr|less -R'
alias kexp='vlc http://live-mp3-128.kexp.org:8000/listen.pls'
alias maek='make'
alias mg='valgrind --suppressions=~/dev/parrot/tools/dev/parrot.supp --num-callers=500 --leak-check=full --leak-resolution=high --show-reachable=yes parrot --leak-test'
alias mjc='TEST_JOBS=9 make -j9 clean'
alias mjr='TEST_JOBS=9 make -j9 realclean'
alias mj='TEST_JOBS=9 make -j9'
alias opfix='svn revert src/ops/core_ops.c include/parrot/oplib/core_ops.h'
alias pb='perlbrew'
alias pcg='perl Configure.pl --cc=g++ --link=g++ --ld=g++'
alias pcoi='perl Configure.pl --cc=g++ --link=g++ --ld=g++ --optimize --prefix=/usr/local/parrot-git'
alias pco='perl Configure.pl --cc=g++ --link=g++ --ld=g++ --optimize'
alias pco='perl Configure.pl --optimize'
alias pc='perl Configure.pl'
alias p='prove -lr'
alias psu='parrot setup.pir'
alias pv='prove -lvr'
alias realias='vim ~/.aliases; source ~/.aliases'
alias remake='perl tools/dev/reconfigure.pl --step=gen::makefiles'
alias sc='svn commit'
alias s='dbus-send --session /net/sf/roxterm/Options net.sf.roxterm.Options.SetColourScheme string:$ROXTERM_ID string:danger-somme'
alias sdl='svn diff|less'
alias sds='svn diff|diffstat'
alias sd='svn diff'
alias sl='sl -e'
alias spsu='sudo parrot setup.pir'
alias sup='svn up'
alias top='htop'
alias v='dbus-send --session /net/sf/roxterm/Options net.sf.roxterm.Options.SetColourScheme string:$ROXTERM_ID string:danger-verdun'
alias vgp='valgrind --tool=callgrind --dump-instr=yes --collect-jumps=yes --collect-systime=yes'
alias vgp='valgrind --tool=callgrind --dump-instr=yes --collect-jumps=yes --collect-systime=yes'
alias vimclean='find .|egrep "\.[^\/]+\.swp"|xargs rm'
alias wgetnc='wget --no-check-certificate'
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=100000
SAVEHIST=100000
setopt appendhistory autocd extendedglob nomatch interactivecomments
unsetopt beep notify
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/cotto/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="gentoo"
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
#
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
#
# Comment this out to disable bi-weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
#
# Uncomment to change how often before auto-updates occur? (in days)
# export UPDATE_ZSH_DAYS=13
#
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
#
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
#
# Uncomment following line if you want to disable command autocorrection
# DISABLE_CORRECTION="true"
#
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
#
# Uncomment 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"
#
# 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)
plugins=(git battery command-not-found cpanm debian dircycle git-extras gitfast gnu-utils history history-substring-search screen themes)
#
source $ZSH/oh-my-zsh.sh
source $HOME/.aliases
#
# Customize to your needs...
setopt nosharehistory
PROMPT='%n@%m $(git_prompt_info)%~ $WINDOW $(prompt_char)%{$reset_color%} '
SHELL='/bin/zsh'
PATH="$PATH:/usr/src/git-achievements:/home/cotto/drush:/usr/local/phpfog/bin:/usr/local/parrot-git/bin:/usr/local/perlbrew/bin"
export MANPATH="$MANPATH:/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/local/parrot-git/man"
export PERLBREW_ROOT="/usr/local/perlbrew"
export PERLBREW_HOME="/home/cotto/.perlbrew"
# for WWW::Workflowy
export WORKFLOWY_USERNAME='christoph_workflowy@mksig.org'
export WORKFLOWY_PASSWORD='hunter2' # ceci n'est pas...
ANSIBLE_HOME="/usr/src/ansible"
PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib"
PREFIX_PATH="$ANSIBLE_HOME/bin"
PREFIX_MANPATH="$ANSIBLE_HOME/docs/man"
[[ $PYTHONPATH != ${PREFIX_PYTHONPATH}* ]] && export PYTHONPATH=$PREFIX_PYTHONPATH:$PYTHONPATH
[[ $PATH != ${PREFIX_PATH}* ]] && export PATH=$PREFIX_PATH:$PATH
export ANSIBLE_LIBRARY="$ANSIBLE_HOME/library"
[[ $MANPATH != ${PREFIX_MANPATH}* ]] && export MANPATH=$PREFIX_MANPATH:$MANPATH
fpath=($HOME/.homesick/repos/homeshick/completions $fpath)
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment