mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 22:44:01 +00:00
Rename __fish_list_windows_drives function:
- new name is __fish_print_windows_drives
This commit is contained in:
parent
c5a8e700bb
commit
7ae194cb03
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ function __cleanmgr_complete_args --description 'Function to generate args'
|
||||||
set --local previous_token (commandline --tokenize --cut-at-cursor)[-1]
|
set --local previous_token (commandline --tokenize --cut-at-cursor)[-1]
|
||||||
|
|
||||||
if test "$previous_token" = '/d'
|
if test "$previous_token" = '/d'
|
||||||
__fish_list_windows_drives
|
__fish_print_windows_drives
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
function __fish_list_windows_drives --description 'Lists Windows drives'
|
function __fish_print_windows_drives --description 'Print Windows drives'
|
||||||
wmic logicaldisk get name | tail +2
|
wmic logicaldisk get name | tail +2
|
||||||
end
|
end
|
Loading…
Reference in a new issue