Skip to content

Commit

Permalink
Minor fix eshell.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Mar 30, 2016
1 parent fd331d5 commit 5bb480e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lisp/init-eshell.el
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@
(defalias 'eshell/more 'eshell/less)

;; Integrate helm
(when (featurep 'helm)
(add-hook 'eshell-mode-hook
#'(lambda ()
(define-key eshell-mode-map
[remap eshell-pcomplete]
'helm-esh-pcomplete)))
(eval-after-load 'helm
'(add-hook 'eshell-mode-hook
#'(lambda ()
(define-key eshell-mode-map
[remap eshell-pcomplete]
'helm-esh-pcomplete)))
)

(provide 'init-eshell)
Expand Down

0 comments on commit 5bb480e

Please sign in to comment.