Skip to content

Commit b237fd5

Browse files
authored
fix: remove escape sequences from PATH in fish (#237)
1 parent 0ff78f1 commit b237fd5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/expert/lib/expert/port.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ defmodule Expert.Port do
7373
# to join the entries with colons and have a standard colon-separated PATH output
7474
# as in bash, which is expected by `:os.find_executable/2`.
7575
{path, 0} =
76-
System.cmd(shell, ["-i", "-l", "-c", "cd #{directory} && string join ':' $PATH"],
77-
env: env
78-
)
76+
System.cmd(shell, ["-l", "-c", "cd #{directory} && string join ':' $PATH"], env: env)
7977

8078
path
8179

0 commit comments

Comments
 (0)