+(defun aminb/post-init-counsel ()
+ (use-package counsel
+ :defer t
+ :config
+ (progn
+ (spacemacs/set-leader-keys-for-major-mode 'eshell-mode
+ "," 'counsel-esh-history)
+ (add-hook 'eshell-mode-hook
+ '(lambda () (define-key eshell-mode-map
+ (kbd "M-l") 'counsel-esh-history)))
+ )))
+