mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 09:12:11 +08:00
Drive suggestions for attrib command
This commit is contained in:
parent
e137df393a
commit
656d3479dc
@ -13,13 +13,15 @@ a\tClear the Archive file attribute
|
||||
s\tClear the System file attribute
|
||||
h\tClear the Hidden file attribute
|
||||
i\tClear the Not Content Indexed file attribute' | awk -F '\t' "{ printf \"$current_token%s\t%s\n\", \$1, \$2 }"
|
||||
case '*'
|
||||
case '/*'
|
||||
echo -e '+\tSet the file attribute
|
||||
-\tClear the file attribute
|
||||
/s\tApply to matching files in the current directory and all of its subdirectories
|
||||
/d\tApply attrib and any command-line options to directories
|
||||
/l\tApply attrib and any command-line options to the Symbolic Link, rather than the target of it
|
||||
/?\tShow help'
|
||||
case '*'
|
||||
wmic logicaldisk get caption | sed --quiet '1b;/./p'
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user