Skip to content

Commit cfee786

Browse files
authored
chore: release v1.23.0 (#382)
1 parent 5731bbc commit cfee786

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "argc"
3-
version = "1.22.0"
3+
version = "1.23.0"
44
edition = "2021"
55
authors = ["sigoden <sigoden@gmail.com>"]
66
description = "A bash cli framework, also a bash-based command runner"

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,10 @@ To execute a `.sh` script file directly like a `.cmd` or `.exe` file, execute th
274274
[Environment]::SetEnvironmentVariable("PATHEXT", [Environment]::GetEnvironmentVariable("PATHEXT", "Machine") + ";.SH", "Machine")
275275
276276
# Associate the .sh file extension with Git Bash
277-
New-Item -LiteralPath Registry::HKEY_CLASSES_ROOT\.sh
278-
New-ItemProperty -LiteralPath Registry::HKEY_CLASSES_ROOT\.sh -Name "(Default)" -Value "sh_auto_file" -PropertyType String -Force
279-
New-ItemProperty -LiteralPath Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Classes\sh_auto_file\shell\open\command `
280-
-Name '(default)' -Value '"C:\Program Files\Git\bin\bash.exe" "%1" %*' -PropertyType String -Force
277+
New-Item -Path Registry::HKEY_CLASSES_ROOT\.sh
278+
New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\.sh -Name "(Default)" -Value "sh_auto_file" -PropertyType String -Force
279+
New-Item -Path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Classes\sh_auto_file\shell\open\command -Force
280+
New-ItemProperty -Path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Classes\sh_auto_file\shell\open\command -Name '(default)' -Value '"C:\Program Files\Git\bin\bash.exe" "%1" %*' -PropertyType String -Force
281281
```
282282

283283
![windows-shell](https://github.com/sigoden/argc/assets/4012553/16af2b13-8c20-4954-bf58-ccdf1bbe23ef)

0 commit comments

Comments
 (0)