emacs/eshell: fix pcomplete+ivy/helm integration

Use ivy/helm instead of the popup at the bottom.
This commit is contained in:
Henrik Lissner 2018-06-16 16:37:43 +02:00
parent 01b2856cc2
commit c0f601721c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 9 additions and 0 deletions

View file

@ -125,6 +125,14 @@ module to be loaded."
(insert command)
(eshell-send-input nil t)))
;;;###autoload
(defun +eshell/pcomplete ()
"Use pcomplete with completion-in-region backend instead of popup window at
bottom. This ties pcomplete into ivy or helm, if they are enabled."
(interactive)
(require 'pcomplete)
(pcomplete-std-complete))
;;
;; Hooks