Skip to content

Instantly share code, notes, and snippets.

View baylej's full-sized avatar
🤠
Howdy Howdy Howdy!

Jon Bayle baylej

🤠
Howdy Howdy Howdy!
View GitHub Profile
@baylej
baylej / my_indent.sh
Last active August 29, 2015 14:04
My indent command
#!/bin/bash
#
# I do not recommend `indent` as a beautifier, because it will eat every
# space you manually add to align declarations.
indent -nbad -nbap -nbc -br -brf -brs -ncdb -cdw -ce -ci4 -cli4 \
-d0 -di1 -nfca -i4 -il0 -lp -npcs -nprs -psl -sai \
-saf -saw -ncs -nsc -npsl -nsob -ss -ts4 -ut -l0 $@
# -nbad Do not force blank lines after declarations.