diff --git a/share/completions/cleanmgr.fish b/share/completions/cleanmgr.fish index c4d7a20d1..b5310b4dd 100644 --- a/share/completions/cleanmgr.fish +++ b/share/completions/cleanmgr.fish @@ -2,7 +2,7 @@ function __cleanmgr_complete_args --description 'Function to generate args' set --local previous_token (commandline --tokenize --cut-at-cursor)[-1] if test "$previous_token" = '/d' - __fish_list_windows_drives + __fish_print_windows_drives return end diff --git a/share/functions/__fish_list_windows_drives.fish b/share/functions/__fish_list_windows_drives.fish index 3de8cfb5a..a5743af15 100644 --- a/share/functions/__fish_list_windows_drives.fish +++ b/share/functions/__fish_list_windows_drives.fish @@ -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 -end \ No newline at end of file +end