From dbdd3e36cd0d67058e0625fd0368659b00c15819 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Mon, 11 Nov 2019 10:12:36 +0000 Subject: [PATCH] bash: Add local file for stbbri-sec-1 --- bashrc.d/local/stbbri-sec-1.bash | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 bashrc.d/local/stbbri-sec-1.bash diff --git a/bashrc.d/local/stbbri-sec-1.bash b/bashrc.d/local/stbbri-sec-1.bash new file mode 100644 index 0000000..4495ce1 --- /dev/null +++ b/bashrc.d/local/stbbri-sec-1.bash @@ -0,0 +1,45 @@ +if [ -x /usr/bin/dircolors ]; then + alias ls='ls --color=auto' + alias grep='grep --color=auto' +fi + +# 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 + +# Misc work +alias jtagserial='telnet 10.178.5.209 2300' + +# Security +alias flash='webflasher.pl -i 10.178.4.7' +alias flashfirstimage='webflasher.pl -i 10.178.4.7 -s 0x100000' + +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 ec="emacsclient26 -n -c" + +alias cleanursr='if [ "$NEXUS_TOP" == "" ] ; then echo NEXUS_TOP not set ; else rm -r $NEXUS_TOP/../$B_REFSW_OBJ_DIR ; fi'