1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 00:29:02 -08:00

shell stuff

This commit is contained in:
Connor Olding 2015-04-06 12:12:06 -07:00
parent ab0d2947da
commit 6a6075d6a8
2 changed files with 4 additions and 0 deletions

View file

@ -47,6 +47,7 @@ export LDFLAGS="$LDFLAGS -L'$HOME/opt/local/lib'"
export CXXFLAGS="$CFLAGS"
export LD_LIBRARY_PATH= # -n isn't an option in zsh's export
export MAKEFLAGS="-j2"
export VST_SDK_DIR="$HOME/src/vstsdk2.4"
export EDITOR='vim -p'
export GOPATH="$HOME/go"
@ -77,6 +78,7 @@ alias revend='objcopy -I binary -O binary --reverse-bytes=4'
alias fucksystemd='dmesg | grep -v audit'
alias gd='git diff'
alias gds='git --no-pager diff --stat'
alias gl='git log --oneline'
alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj"
# providing extra functionality
@ -93,6 +95,7 @@ alias makepkgf='sudo -u $USER MAKEFLAGS=-j2 makepkg -Af --skipchecksums'
alias rakef='rake && gem build *.gemspec && gem install *.gem'
alias rot13='tr "A-Za-z0-9" "N-ZA-Mn-za-m5-90-4"'
alias cleanse='tr -cd "\11\12\15\40-\176"'
alias profile="CPUPROFILE=./a.pprof LD_PRELOAD=/usr/lib/libprofiler.so"
function trash() {
dd status=none if=/dev/random bs=1 count="$1"

View file

@ -119,6 +119,7 @@ bindkey '^Xe' edit-command-line # ctrl+x -> e
. ~/.-shrc
alias -g OMFG="1>/dev/null"
alias -g STFU="2>/dev/null"
for x in ack cd cp ebuild gcc gist grep ln man mkdir mv rm