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.
2 parents 5c57e73 + b560fc8 commit 4a821c7Copy full SHA for 4a821c7
src/HookFactory.php
@@ -44,7 +44,11 @@ function %%function_name%% {
44
RESULT="$(%%completion_command%% </dev/null)";
45
STATUS=$?;
46
47
- local cur;
+ local cur mail_check_backup;
48
+
49
+ mail_check_backup=$MAILCHECK
50
+ MAILCHECK=-1
51
52
_get_comp_words_by_ref -n : cur;
53
54
# Check if shell provided path completion is requested
@@ -62,6 +66,8 @@ function %%function_name%% {
62
66
COMPREPLY=(`compgen -W "$RESULT" -- $cur`);
63
67
64
68
__ltrim_colon_completions "$cur";
69
70
+ MAILCHECK=mail_check_backup
65
71
};
72
73
if [ "$(type -t _get_comp_words_by_ref)" == "function" ]; then
0 commit comments