Merge branch 'master' into master

This commit is contained in:
John Cavanaugh
2025-07-16 16:53:14 -07:00
committed by GitHub
3 changed files with 5 additions and 10 deletions

10
Cargo.lock generated
View File

@@ -159,7 +159,7 @@ dependencies = [
"thiserror 2.0.11",
"toml",
"unicode-segmentation",
"unicode-width 0.1.14",
"unicode-width",
"wait-timeout",
"walkdir",
"wild",
@@ -311,7 +311,7 @@ dependencies = [
"encode_unicode",
"libc",
"once_cell",
"unicode-width 0.2.0",
"unicode-width",
"windows-sys 0.59.0",
]
@@ -1713,12 +1713,6 @@ version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]]
name = "unicode-width"
version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
[[package]]
name = "unicode-width"
version = "0.2.0"

View File

@@ -52,7 +52,7 @@ thiserror = "2.0"
wild = { version = "2.2", optional = true }
content_inspector = "0.2.4"
shell-words = { version = "1.1.0", optional = true }
unicode-width = "0.1.13"
unicode-width = "0.2.0"
globset = "0.4"
serde = "1.0"
serde_derive = "1.0"

View File

@@ -257,7 +257,8 @@ abbr -a --position anywhere -- -h '-h | bat -plhelp'
This way, you can keep on using `cp --help`, but get colorized help pages.
Be aware that in some cases, `-h` may not be a shorthand of `--help` (for example with `ls`).
Be aware that in some cases, `-h` may not be a shorthand of `--help` (for example with `ls`). In cases where you need to use `-h`
as a command argument you can prepend `\` to the arguement (eg. `ls \-h`) to escape the aliasing defined above.
Please report any issues with the help syntax in [this repository](https://github.com/victor-gp/cmd-help-sublime-syntax).