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 7dd93b7 commit 9c09133Copy full SHA for 9c09133
completions/mutt
@@ -16,6 +16,7 @@ _muttaddr()
16
# @output muttrc filename
17
_muttrc()
18
{
19
+ local muttrc=
20
# Search COMP_WORDS for '-F muttrc' or '-Fmuttrc' argument
21
set -- "${words[@]}"
22
while (($# > 0)); do
@@ -32,7 +33,7 @@ _muttrc()
32
33
shift
34
done
35
- if [[ ! -v muttrc ]]; then
36
+ if [[ ! $muttrc ]]; then
37
if [[ -f ~/.${muttcmd}rc ]]; then
38
muttrc=\~/.${muttcmd}rc
39
elif [[ -f ~/.${muttcmd}/${muttcmd}rc ]]; then
0 commit comments