Skip to content

Fix git command for nushell compatibility#596

Merged
AntoineGS merged 1 commit into
zbirenbaum:masterfrom
tsukimizake:fix-nushell-compatibility
Nov 1, 2025
Merged

Fix git command for nushell compatibility#596
AntoineGS merged 1 commit into
zbirenbaum:masterfrom
tsukimizake:fix-nushell-compatibility

Conversation

@tsukimizake
Copy link
Copy Markdown
Contributor

@tsukimizake tsukimizake commented Oct 25, 2025

Replace 'cd && git' with 'git -C' to avoid issues with nushell which doesn't support && as bash/zsh.

On nushell, we use ; instead and it works like && on bash.

Replace 'cd && git' with 'git -C' to avoid issues with nushell which doesn't support command substitution with cd in the same way as bash/zsh.
@AntoineGS AntoineGS merged commit 2b368ce into zbirenbaum:master Nov 1, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants