We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc8c8a commit 204d2e7Copy full SHA for 204d2e7
.shellcheckrc
@@ -0,0 +1,2 @@
1
+disable=1090
2
+disable=1091
src/cdm
@@ -58,20 +58,16 @@ yesno()
58
if [[ -n "$1" ]]; then
59
if [[ -f "$1" ]]
60
then
61
- # shellcheck disable=1090
62
source "$1"
63
else
64
error "config file \`$1' does not exist."
65
exiterror
66
fi
67
elif [[ -f "$HOME/.cdmrc" ]]; then
68
- # shellcheck disable=1091
69
source "$HOME/.cdmrc"
70
elif [[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/cdm/cdmrc" ]]; then
71
72
source "${XDG_CONFIG_HOME:-$HOME/.config}/cdm/cdmrc"
73
elif [[ -f /etc/cdmrc ]]; then
74
75
source /etc/cdmrc
76
77
0 commit comments