3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/programs/bash
Anders Kaseorg d44b6ae6cb modules/programs/bash: Fix ShellCheck warnings
https://github.com/koalaman/shellcheck/wiki/SC2086
Double quote to prevent globbing and word splitting.

https://github.com/koalaman/shellcheck/wiki/SC2166
Prefer `[ p ] && [ q ]` as `[ p -a q ]` is not well defined.

https://github.com/koalaman/shellcheck/wiki/SC2219
Instead of `let expr`, prefer `(( expr ))` .

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-09-06 08:49:34 +09:00
..
bash-completion.nix modules/programs/bash: Fix ShellCheck warnings 2021-09-06 08:49:34 +09:00
bash.nix modules/programs/bash: Fix ShellCheck warnings 2021-09-06 08:49:34 +09:00
inputrc
ls-colors.nix modules/programs/bash: move prompt plugins into separate modules 2021-05-03 14:24:24 -04:00
undistract-me.nix maintainers: rename metadark -> kira-bruneau (#124035) 2021-05-22 16:47:40 +02:00