fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a9618477e
master
1function __cleanmgr_complete_args -d'Function to generate args' 2set -l previous_token( commandline -xc)[ -1 ] 3 4if test " $previous_token " = /d 5__fish_print_windows_drives 6return 7end 8end 9 10complete -c cleanmgr -f -a'(__cleanmgr_complete_args)' 11 12complete -c cleanmgr -f -a /d -d'Specify the drive' 13complete -c cleanmgr -f -a /sageset\ 14 -d'Display the Disk Cleanup Settings dialog box and also create a registry key' 15complete -c cleanmgr -f -a /sagerun -d'Run the specified tasks that are assigned to the n value' 16complete -c cleanmgr -f -a /tuneup -d'Run /sageset and /sagerun for the same n' 17complete -c cleanmgr -f -a /lowdisk -d'Run with the default settings' 18complete -c cleanmgr -f -a /verylowdisk -d'Run with the default settings, no user prompts' 19complete -c cleanmgr -f -a'/?' -d'Show help'