Project

General

Profile

Actions

bashrc

alias ll="ls -lh" 

export EDITOR="vim" 

# User specific aliases and functions
search() {
    grep -rnI --exclude-dir=.svn "$1" .
}

# Hexdump with sane format one 32 bit word per line
hdmp() {
    sudo hexdump -e '/4 "%08_ax - "' -e '/4 "%08X" "\n"' $1
}

# Tar and compress using pbzip2 which is MUCH faster on multicore systems
tbz() {
    tar -v -c --use-compress-program=pbzip2 -f ${1%/}.tar.bz2 $1
}

# Decompress and uncompress using pbzip2
tbzx() {
    tar -v -x --use-compress-program=pbzip2 -f $1
}

alias formatDDC="astyle -A1s4SHUk1jcz2 -n *.c *.h" 

alias formatDave="astyle -A8s4SHUk3jcz2 -n *.c *.h" 

Updated by almost 5 years ago · 1 revisions