- 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>
This fix issues a warning message and does nothing in that case.
Running C-x c (copy) or C-x m (move) will copy/move all the marked files to a
single location. If that location is not a directory, then creating that file
and overwriting it several times results in complete loss of data in the case of
moving, and unhelpful behaviour in the case of "copying". Only the last marked
file remains in the file.