7 Commits

Author SHA1 Message Date
vlad doster
eed099b954 Cohesive shell script formatting
- Format all shell scripts using [shfmt]
  (https://github.com/mvdan/sh).

Options used:

* `-bn`: binary ops like && and | may start a line
* `-sr`: redirect operators will be followed by a space
* `-ci`: indent switch cases
* `-i 4`: indent 4 spaces
* `-s`: simplify the code
* `-p`: parse for posix compliance

- Add Github action to lint changes to scripts and enforce formatting
  going forward

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2021-03-15 06:16:20 -05:00
Luke Smith
7f334ff4b9
oops, sed error 2020-04-08 19:06:11 -04:00
Luke Smith
422d106fba
assume default values if xdg dirs not set 2020-04-08 17:21:40 -04:00
Dennis Lee
2b572b2a89 substitute $HOME/.local/share with $XDG_DATA_HOME 2020-04-04 12:52:29 -07:00
Luke Smith
2b5df860de
#!/bin/sh shebang. newline after universalized. 2020-02-08 18:43:37 -05:00
Luke Smith
1bca65bfc2
portable shebang 2019-08-18 12:28:11 -04:00
Luke Smith
c6e69e9642 massive cleanup 2019-05-19 20:05:14 -04:00