Remove complete for internal cmd commands

This commit is contained in:
EmilySeville7cfg 2021-12-02 00:36:40 +10:00 committed by ridiculousfish
parent 7bf82bfd32
commit d3ad5fe398
7 changed files with 0 additions and 61 deletions

View File

@ -1 +0,0 @@
complete --command cls --no-files --arguments '/?\t"Show help"'

View File

@ -1,19 +0,0 @@
function __copy_generate_args --description 'Function to generate args'
if not __fish_seen_argument --windows 'a' --windows 'b'
echo -e '/a\tIndicate an ASCII text file
/b\tIndicate a binary file'
end
if not __fish_seen_argument --windows 'y' --windows '-y'
echo -e '/y=\tHide prompts to confirm that you want to overwrite an existing destination file
/-y\tShow prompts to confirm that you want to overwrite an existing destination file'
end
echo -e '/d\tAllow the encrypted files being copied to be saved as decrypted files at the destination
/v\tVerify that new files are written correctly
/n\tUse a short file name, if available
/z\tCopy networked files in restartable mode
/?\tShow help'
end
complete --command copy --no-files --arguments '(__copy_generate_args)'

View File

@ -1,11 +0,0 @@
function __md_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 '*'
__fish_list_windows_drives
end
end
complete --command md --no-files --arguments '(__md_generate_args)'

View File

@ -1 +0,0 @@
complete --command pause --no-files --arguments '/?\t"Show help"'

View File

@ -1 +0,0 @@
complete --command ver --no-files --arguments '/?\tShow help'

View File

@ -1,12 +0,0 @@
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 '*'
__fish_list_windows_drives
end
end
complete --command vol --no-files --arguments '(__vol_generate_args)'

View File

@ -1,16 +0,0 @@
function __rd_generate_args --description 'Function to generate args'
set --local current_token (commandline --current-token --cut-at-cursor)
switch $current_token
case '/*'
if __fish_seen_argument --windows 's'
echo -e '/q\tSpecify quiet mode'
end
echo -e '/s\tDelete a directory tree
/?\tShow help'
case '*'
__fish_list_windows_drives
end
end
complete --command rd --no-files --arguments '(__rd_generate_args)'