bash: Add local file for stbbri-sec-1
This commit is contained in:
45
bashrc.d/local/stbbri-sec-1.bash
Normal file
45
bashrc.d/local/stbbri-sec-1.bash
Normal file
@@ -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'
|
||||
Reference in New Issue
Block a user