From 09254aef6f78b09303bec8cbbb42336fca23a609 Mon Sep 17 00:00:00 2001 From: berdario Date: Thu, 20 Jun 2013 22:04:50 +0300 Subject: [PATCH] Added eval before the variable expansion fish shell doesn't support to use variable as commands (on purpose, see: http://lwn.net/Articles/136232/ "Impossible to Validate the Syntax" ) --- nrepl/elisp/nrepl-ritz.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrepl/elisp/nrepl-ritz.el b/nrepl/elisp/nrepl-ritz.el index 4483f96..3b71354 100644 --- a/nrepl/elisp/nrepl-ritz.el +++ b/nrepl/elisp/nrepl-ritz.el @@ -19,7 +19,7 @@ (if (or (locate-file nrepl-lein-command exec-path) (locate-file (format "%s.bat" nrepl-lein-command) exec-path)) (format "%s ritz-nrepl" nrepl-lein-command) - (format "echo \"%s ritz-nrepl\" | $SHELL -l" nrepl-lein-command)) + (format "echo \"%s ritz-nrepl\" | eval $SHELL -l" nrepl-lein-command)) "The command used to start the nREPL via `nrepl-ritz-jack-in'. For a remote nREPL server lein must be in your PATH. The remote proc is launched via sh rather than bash, so it might be necessary