dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.61k stars 65 forks source link

`cd` doesn't work when directory name is a number #153

Closed refracted closed 4 years ago

refracted commented 4 years ago

Suppose there's a directory called '1' in the current working directory. If I try cd 1, it fails with

Execution error (IllegalArgumentException) at closh.zero.platform.process/resolve-path (process.clj:29). No matching ctor found for class java.io.File

cd ./1 and cd 1/ both work.

dundalek commented 4 years ago

Thanks for the report! Fixed in master.