Add clang format and config dump

This commit is contained in:
Jean-Claude 2023-11-26 15:54:57 +01:00
parent 6770aa23fd
commit 4d85887c6c
Signed by: jeanclaude
GPG Key ID: 8A300F57CBB9F63E
1 changed files with 3 additions and 0 deletions

View File

@ -40,3 +40,6 @@ alias nosleep='xset s off && xset -dpms'
alias bing='paplay /usr/share/sounds/freedesktop/stereo/complete.oga'
alias webcam='mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:/dev/video0'
alias clang_f='clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 4, ColumnLimit: 90}" -i **/*.c **/*.h'
alias clang_f_dump='clang-format --dump-config --style="{BasedOnStyle: LLVM, IndentWidth: 4}" > .clang-format'