summaryrefslogtreecommitdiff
path: root/helm-eshell.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-09-13 20:59:12 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-09-13 20:59:12 +0200
commit70b5b21519b70621ea13caf2e582717fdae83e6e (patch)
treeab2c092e529208d55279282adb136e5ae8e03bd0 /helm-eshell.el
parent134b3753e57e013bf6e5d84c86769c2adba3c1bf (diff)
Fix comment about how to enable helm completion in eshell.
Diffstat (limited to 'helm-eshell.el')
-rw-r--r--helm-eshell.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/helm-eshell.el b/helm-eshell.el
index eba70052..6f703e1d 100644
--- a/helm-eshell.el
+++ b/helm-eshell.el
@@ -15,12 +15,15 @@
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-;; Enable like this in .emacs:
+;;; Commentary:
;;
+;; Enable like this in .emacs:
;; (add-hook 'eshell-mode-hook
;; #'(lambda ()
-;; (define-key eshell-mode-map [remap pcomplete] 'helm-esh-pcomplete)))
-;;
+;; (eshell-cmpl-initialize)
+;; (define-key eshell-mode-map [remap pcomplete] 'helm-esh-pcomplete)
+;; (define-key eshell-mode-map (kbd "M-p") 'helm-eshell-history)))
+
;;; Code:
(require 'cl-lib)