Skip to content

Commit c1ded7f

Browse files
committed
nushell compatibilitiy for REPL
1 parent 4b90899 commit c1ded7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

base/client.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ function repl_cmd(cmd, out)
6767
@static if !Sys.iswindows()
6868
if shell_name == "fish"
6969
shell_escape_cmd = "begin; $(shell_escape_posixly(cmd)); and true; end"
70+
elseif shell_name == "nu"
71+
shell_escape_cmd = "$(shell_escape_posixly(cmd))"
7072
else
7173
shell_escape_cmd = "($(shell_escape_posixly(cmd))) && true"
7274
end

0 commit comments

Comments
 (0)