From 7874e8630f25526b4bc41b36795b7e945ec49105 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 4 Nov 2024 17:49:02 +0100 Subject: [PATCH] no check --- .config/fish/functions/trash-empty.fish | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.config/fish/functions/trash-empty.fish b/.config/fish/functions/trash-empty.fish index 93280ae..17c655f 100644 --- a/.config/fish/functions/trash-empty.fish +++ b/.config/fish/functions/trash-empty.fish @@ -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);" \