diff --git a/CHANGELOG.develop b/CHANGELOG.develop index f9e606cac..a3778f313 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -2135,6 +2135,7 @@ Other: - ~SPC m N~ go to previous multi-term - Moved =eshell-z-freq-dir-hash-table-file-name= into cache dir (thanks to bb2020) +- Enabled ~TAB~ completion in =eshell= with =Helm= (thanks to bb2020) **** Shell Scripts - Added new company-shell environment variable backend (thanks to Alexander-Miller) diff --git a/layers/+tools/shell/README.org b/layers/+tools/shell/README.org index bf69f0077..8c13d42d4 100644 --- a/layers/+tools/shell/README.org +++ b/layers/+tools/shell/README.org @@ -210,6 +210,7 @@ Some advanced configuration is setup for =eshell= in this layer: | ~SPC a s m~ | Open, close or go to a =multi-term= | | ~SPC a s t~ | Open, close or go to a =ansi-term= | | ~SPC a s T~ | Open, close or go to a =term= | +| ~TAB~ | browse completion with =helm= | | ~SPC m H~ | browse history with =helm= (works in =eshell= and =shell=) | | ~C-j~ | next item in history | | ~C-k~ | previous item in history | diff --git a/layers/+tools/shell/funcs.el b/layers/+tools/shell/funcs.el index 63e8dd3ff..9f0ed355f 100644 --- a/layers/+tools/shell/funcs.el +++ b/layers/+tools/shell/funcs.el @@ -168,8 +168,7 @@ is achieved by adding the relevant text properties." (defun spacemacs/init-helm-eshell () "Initialize helm-eshell." - ;; this is buggy for now - ;; (define-key eshell-mode-map (kbd "") 'helm-esh-pcomplete) + (define-key eshell-mode-map (kbd "") 'helm-esh-pcomplete) (spacemacs/set-leader-keys-for-major-mode 'eshell-mode "H" 'spacemacs/helm-eshell-history) (define-key eshell-mode-map