From 4950d08fa1af5122265c1df411c3579855751c93 Mon Sep 17 00:00:00 2001 From: Eric Danan Date: Tue, 12 Apr 2016 10:06:52 +0200 Subject: [PATCH] add action to start eshell --- counsel-projectile.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/counsel-projectile.el b/counsel-projectile.el index 71af3e0..cf285aa 100644 --- a/counsel-projectile.el +++ b/counsel-projectile.el @@ -169,7 +169,11 @@ With a prefix ARG invalidates the cache first." ("g" (lambda (dir) (let ((projectile-switch-project-action 'projectile-vc)) (projectile-switch-project-by-name dir arg))) - "open in vc-dir / magit / monky"))) + "open in vc-dir / magit / monky") + ("e" (lambda (dir) + (let ((projectile-switch-project-action 'projectile-run-eshell)) + (projectile-switch-project-by-name dir arg))) + "start eshell"))) (provide 'counsel-projectile)