mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
Add completions for wslpath
(#8364)
* add completions for `wslpath` * add changelog entry for `wslpath` completion
This commit is contained in:
parent
af7704ef06
commit
be9b8829d0
|
@ -1865,6 +1865,7 @@ Other significant changes
|
||||||
- ``sbt`` (:issue:`4347`)
|
- ``sbt`` (:issue:`4347`)
|
||||||
- ``snap`` (:issue:`4215`)
|
- ``snap`` (:issue:`4215`)
|
||||||
- Sublime Text 3’s ``subl`` (:issue:`4277`)
|
- Sublime Text 3’s ``subl`` (:issue:`4277`)
|
||||||
|
- Windows Subsystem for Linux (WSL)'s ``wslpath``
|
||||||
|
|
||||||
- Lots of improvements to completions.
|
- Lots of improvements to completions.
|
||||||
|
|
||||||
|
|
4
share/completions/wslpath.fish
Normal file
4
share/completions/wslpath.fish
Normal 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 \'\\\''
|
Loading…
Reference in New Issue
Block a user