mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Clean-up vol completion:
- use __fish_list_windows_drives - reformat
This commit is contained in:
parent
4d3039059d
commit
2683dc4af8
1 changed files with 2 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
|||
function __vol_generate_args --description 'Function to generate args'
|
||||
set --local current_token (commandline --current-token --cut-at-cursor)
|
||||
|
||||
switch $current_token
|
||||
case '/*'
|
||||
echo -e '/?\tShow help'
|
||||
case '*'
|
||||
wmic logicaldisk get name | tail --lines +2
|
||||
__fish_list_windows_drives
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue