Scripts: Disable hooks in bash completion script

- Stop on-launch and on-exit hooks with output from interfering with
  bash completion.
This commit is contained in:
Wilhelm Schuermann 2015-04-01 14:54:26 +02:00
parent 04d0c52a43
commit 229078ffed
3 changed files with 5 additions and 3 deletions

View file

@ -55,9 +55,9 @@ if (open my $target, '>', 'task.sh')
{
my $temp=$_;
chomp($_);
if ($_ eq "taskcommand='task rc.verbose:nothing rc.confirmation:no'")
if ($_ eq "taskcommand='task rc.verbose:nothing rc.confirmation:no rc.hooks:off'")
{
print $target "taskcommand='../src/task rc.verbose:nothing rc.confirmation:no rc:bug.rc'";
print $target "taskcommand='../src/task rc.verbose:nothing rc.confirmation:no rc.hooks:off rc:bug.rc'";
}
else
{