Skip to content

Instantly share code, notes, and snippets.

@zhoulifu
Last active November 12, 2018 09:07
Show Gist options
  • Save zhoulifu/f49adc68f6b42798a17b935a0e0ff65b to your computer and use it in GitHub Desktop.
Save zhoulifu/f49adc68f6b42798a17b935a0e0ff65b to your computer and use it in GitHub Desktop.
Shell alias
alias sbr='mvn clean && mvn spring-boot:run'
alias nem='emacs -nw'
alias ics='dpkg -l|grep'
alias rm='rm -i'
alias psef='ps -ef|grep'
alias gdd='git difftool -t meld -d'
alias psport='netstat -atnl|grep -P'
alias mcp='mvn clean package'
alias mcpnt='mcp -Dmaven.test.skip=true'
alias mcc='mvn clean compile'
alias mccnt='mcc -Dmaven.test.skip=true'
alias pkgclr="dpkg -l|grep '^rc'|awk '{print \$2}'|sudo xargs dpkg --purge 2>/dev/null"
alias clean-zsh-history='sort -t ";" -k 2 ~/.zsh_history -u | sort -o ~/.zsh_history'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment