mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Remove complete for internal cmd commands
This commit is contained in:
parent
7bf82bfd32
commit
d3ad5fe398
|
@ -1 +0,0 @@
|
|||
complete --command cls --no-files --arguments '/?\t"Show help"'
|
|
@ -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)'
|
|
@ -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)'
|
|
@ -1 +0,0 @@
|
|||
complete --command pause --no-files --arguments '/?\t"Show help"'
|
|
@ -1 +0,0 @@
|
|||
complete --command ver --no-files --arguments '/?\tShow help'
|
|
@ -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)'
|
|
@ -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)'
|
Loading…
Reference in New Issue
Block a user