Clean-up vol completion:

- use __fish_list_windows_drives
- reformat
This commit is contained in:
EmilySeville7cfg 2021-11-26 18:50:41 +10:00 committed by ridiculousfish
parent 4d3039059d
commit 2683dc4af8

View file

@ -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