Skip to content

Commit 6022df5

Browse files
committed
Merge remote-tracking branch 'origin/pr/34' into develop.
Closes #34.
2 parents 57897db + 213ebf5 commit 6022df5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drupal/pcomplete.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,14 @@
4747
(defun drupal/pcomplete-drush-completion ()
4848
"Completion for `drush'."
4949
;; Completion for the command argument.
50-
(pcomplete-here* drupal/pcomplete-drush-commands)
50+
(let ((pcomplete-try-first-hook (remove 'eshell-complete-host-reference
51+
pcomplete-try-first-hook)))
52+
(pcomplete-here* drupal/pcomplete-drush-commands)
5153
(cond
5254
((pcomplete-match "help" 1)
5355
(pcomplete-here* drupal/pcomplete-drush-commands))
5456
(t
55-
(while (pcomplete-here (pcomplete-entries))))))
57+
(while (pcomplete-here (pcomplete-entries)))))))
5658

5759
(defalias 'pcomplete/drush 'drupal/pcomplete-drush-completion)
5860

0 commit comments

Comments
 (0)