From 7ae194cb031476e13eb84f2aa86ed31ad1dcc84a Mon Sep 17 00:00:00 2001 From: EmilySeville7cfg Date: Mon, 24 Jan 2022 16:04:36 +1000 Subject: [PATCH] Rename __fish_list_windows_drives function: - new name is __fish_print_windows_drives --- share/completions/cleanmgr.fish | 2 +- share/functions/__fish_list_windows_drives.fish | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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