no check
This commit is contained in:
parent
d27125c8f7
commit
7874e8630f
1 changed files with 0 additions and 6 deletions
|
@ -2,12 +2,6 @@ function trash-empty --description "Empty the windows recycle bin."
|
|||
# Get function name
|
||||
set current_name $(status current-function)
|
||||
|
||||
# Check if no arguments were provided
|
||||
if test -z $argv[1]
|
||||
echo -e "Usage: $current_name"
|
||||
return 0
|
||||
end
|
||||
|
||||
# Empty trash
|
||||
powershell.exe -Command "" \
|
||||
"\$bin = (New-Object -ComObject Shell.Application).NameSpace(10);" \
|
||||
|
|
Loading…
Reference in a new issue