Adding clang-format alias

This commit is contained in:
Rodolphe Breard 2016-07-28 18:22:44 +02:00
parent 4747abe034
commit ef99ab3a6a

View file

@ -10,6 +10,7 @@ alias df='df -h'
alias du='du -ch'
hash tree 2>/dev/null && alias t='tree'
hash htop 2>/dev/null && alias top='htop'
hash clang-format 2>/dev/null && alias clang-format='clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4, AllowShortFunctionsOnASingleLine: None, KeepEmptyLinesAtTheStartOfBlocks: false}"'
hash xscreensaver-command 2>/dev/null && alias lock='xscreensaver-command --lock'
hash sqlmap 2>/dev/null && alias sqlmap='sqlmap --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"'
hash sqlmap 2>/dev/null && alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5'