Skip to content

Commit

Permalink
Allow for cd /D on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeHandsome committed Oct 12, 2023
1 parent 595043f commit 952a80b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/many-paws-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fnm": patch
---

Fix `cd /D` on windows with `--use-on-cd`
2 changes: 1 addition & 1 deletion src/shell/windows_cmd/cd.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
cd %1
cd %*
if "%FNM_VERSION_FILE_STRATEGY%" == "recursive" (
fnm use --silent-if-unchanged
) else (
Expand Down

0 comments on commit 952a80b

Please sign in to comment.