mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 08:52:46 +08:00
Completion for forfiles command
This commit is contained in:
parent
2bd7daec20
commit
7c2e05f223
10
share/completions/forfiles.fish
Normal file
10
share/completions/forfiles.fish
Normal file
|
@ -0,0 +1,10 @@
|
|||
function __forfiles_generate_args --description 'Function to generate args'
|
||||
echo -e '/P\tSpecify the path from which to start the search
|
||||
/M\tSearch files according to the specified search mask
|
||||
/S\tInstruct the forfiles command to search in subdirectories recursively
|
||||
/C\tRun the specified command on each file
|
||||
/D\tSelect files with a last modified date within the specified time frame
|
||||
/?\tShow help'
|
||||
end
|
||||
|
||||
complete --command forfiles --no-files --arguments '(__forfiles_generate_args)'
|
Loading…
Reference in New Issue
Block a user