diff --git a/zsh/alias.zsh b/zsh/alias.zsh index ad045f3..f11a8b6 100644 --- a/zsh/alias.zsh +++ b/zsh/alias.zsh @@ -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'