Add completions for wslpath (#8364)

* add completions for `wslpath`

* add changelog entry for `wslpath` completion
This commit is contained in:
百地 希留耶 2021-10-23 06:22:02 +09:00 committed by GitHub
parent af7704ef06
commit be9b8829d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -1865,6 +1865,7 @@ Other significant changes
- ``sbt`` (:issue:`4347`)
- ``snap`` (:issue:`4215`)
- Sublime Text 3s ``subl`` (:issue:`4277`)
- Windows Subsystem for Linux (WSL)'s ``wslpath``
- Lots of improvements to completions.

View File

@ -0,0 +1,4 @@
complete -c wslpath -s a -d 'force result to absolute path format'
complete -c wslpath -s u -d 'translate from a Windows path to a WSL path (default)'
complete -c wslpath -s w -d 'translate from a WSL path to a Windows path'
complete -c wslpath -s m -d 'translate from a WSL path to a Windows path, with \'/\' instead of \'\\\''