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 2245c41 commit 213ebf5Copy full SHA for 213ebf5
drupal/pcomplete.el
@@ -47,12 +47,14 @@
47
(defun drupal/pcomplete-drush-completion ()
48
"Completion for `drush'."
49
;; Completion for the command argument.
50
- (pcomplete-here* drupal/pcomplete-drush-commands)
+ (let ((pcomplete-try-first-hook (remove 'eshell-complete-host-reference
51
+ pcomplete-try-first-hook)))
52
+ (pcomplete-here* drupal/pcomplete-drush-commands)
53
(cond
54
((pcomplete-match "help" 1)
55
(pcomplete-here* drupal/pcomplete-drush-commands))
56
(t
- (while (pcomplete-here (pcomplete-entries))))))
57
+ (while (pcomplete-here (pcomplete-entries)))))))
58
59
(defalias 'pcomplete/drush 'drupal/pcomplete-drush-completion)
60
0 commit comments