You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error output when cd'ing into dev'd folder where path contains & #51
It looks like dev is sensitive to e.g. ampersand in paths, resulting in errornous error-like output:
$ dev --version
dev 1.8.0
$ which node
node not found
$ pwd
/Users/gaggle/Projects/pkgx-pathing-issues
$ cd foo\ \&\ bar/
$ cat package.json
{
"type": "module"
}
$ dev
$ which node
/Users/gaggle/.pkgx/nodejs.org/v24.4.0/bin/node
$ cd ..
-nodejs.org
$ cd foo\ \&\ bar/
[6] 49172
[6] + doneset +a /Users/gaggle/Projects/pkgx-pathing-issues/foo
(eval):64: command not found: bar
$ which node
/Users/gaggle/.pkgx/nodejs.org/v24.4.0/bin/node
This output shows dev continues to work, but the [6] 49172 [6] + done set +a /Users/gaggle/Projects/pkgx-pathing-issues/foo (eval):64: command not found: bar presumably indicates some error somewhere.
changed the title [-]Errors when cd'ing into `dev`'d folder where path contains `&`[/-][+]Error output when cd'ing into `dev`'d folder where path contains `&`[/+]on Nov 29, 2025
On closer inspection I think this relates to a deeper issue where dev is misfiring on subfolders.
Below I go through a script showing my system has no system-level Elixir, then I cd into intellij-flexible-elixir-monorepo which enables Elixir via dev. So far so good. We can also see Elixir remains available in subfolders.
But when I cd back to home and then back directly into intellij-flexible-elixir-monorepo/packages then dev starts misfiring: It doesn't active the devenv, and it displays a permission denied issue on changing dirs. To my eyes this undercuts the essential property of devs direnvs:
$ cd
$ which elixir
elixir not found
$ cd ~/Projects/intellij-flexible-elixir-monorepo/
+elixir-lang.org=1.19.5 +erlang.org=28.3.0
$ which elixir
~/.pkgx/elixir-lang.org/v1.19.5/bin/elixir
$ cd packages/
$ which elixir
~/.pkgx/elixir-lang.org/v1.19.5/bin/elixir
$ cd ~
-elixir-lang.org=1.19.5 -erlang.org=28.3.0
$ cd -
~/Projects/intellij-flexible-elixir-monorepo/packages
no devenv detected
(eval):1: permission denied: ~/Projects/intellij-flexible-elixir-monorepo
Activity
[-]Problems cd'ing into **emoji'd** sub dirs 🙈[/-][+]Problems cd'ing into emoji'd dirs 🙈[/+][-]Problems cd'ing into emoji'd dirs 🙈[/-][+]Errors when cd'ing into `dev`'d folder where path contains `&`[/+][-]Errors when cd'ing into `dev`'d folder where path contains `&`[/-][+]Error output when cd'ing into `dev`'d folder where path contains `&`[/+]gaggle commentedon May 7, 2026
On closer inspection I think this relates to a deeper issue where
devis misfiring on subfolders.Below I go through a script showing my system has no system-level Elixir, then I
cdintointellij-flexible-elixir-monorepowhich enables Elixir viadev. So far so good. We can also see Elixir remains available in subfolders.But when I
cdback to home and then back directly intointellij-flexible-elixir-monorepo/packagesthendevstarts misfiring: It doesn't active the devenv, and it displays a permission denied issue on changing dirs. To my eyes this undercuts the essential property ofdevs direnvs: