if [ -x /usr/bin/dircolors ]; then alias ls='ls --color=auto' alias grep='grep --color=auto' fi # export PATH=$HOME/.local/bin:$PATH addpath $HOME/.local/bin # some more ls aliases alias ll='ls -l' alias la="ls -a" alias lS="ls -lSr" alias lm="ls -ltr $HOME/mail/ | tail" alias ..="cd .." # git shortcuts alias br="git checkout" alias brl="git branch" alias gg="git grep" alias st="git status" alias gd="git diff" alias log="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" alias log2='git log --graph --oneline --all --decorate=full' # Misc alias v=vbindiff alias ctags=ctags-exuberant export JTAG_IP=10.178.4.224 # Misc work alias jtagserial='telnet $JTAG_IP 2300' alias jtagserial2="telnet $EJTAG_IP 2301" # Security # WEBFLASH_SERVER=stbgit.broadcom.com/webflasher-test alias flash='webflasher.pl -i $JTAG_IP' alias flashfirstimagez4='flash -s 0x100000' alias flashfirstimage='flash -s 0x180000' alias goscratch='cd /local/scratch/pw921828' alias goproj="cd /local/proj/irdeto" alias gorelease="cd /local/releases/irdeto" alias govm="cd /projects/Security/scratch/pw921828/ifcp-vm" alias bounce='rsync -av $NEXUS_TOP/../$B_REFSW_OBJ_DIR/nexus/bin/* /local/home/pw921828/tmp/bounce/' alias m="make && bounce" alias debug='arm-linux-gdb -x gdb-7439.cmd' alias put="ncftpput -f ~/.ncftp_login ." alias cleanursr='if [ "$NEXUS_TOP" == "" ] ; then echo NEXUS_TOP not set ; else rm -r $NEXUS_TOP/../$B_REFSW_OBJ_DIR ; fi' PATH="$HOME/perl5/bin${PATH:+:${PATH}}"; export PATH; PERL5LIB="$HOME/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; PERL_LOCAL_LIB_ROOT="$HOME/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;