mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-16 17:00:32 +03:00
Fix: Completions Broken '-s' flag in man-completions (#619)
With 85.0 the deprecated `-s` flag in `str replace` was removed because its matched against a substring automatically now.
This commit is contained in:
parent
9d0a182a86
commit
6745d1cf93
@ -8,7 +8,7 @@ def "manpages" [] {
|
||||
| par-each { ls $in | get name }
|
||||
| flatten
|
||||
| path basename
|
||||
| str replace -s ".gz" ""
|
||||
| str replace ".gz" ""
|
||||
}
|
||||
|
||||
export extern "man" [
|
||||
|
Loading…
Reference in New Issue
Block a user