aboutsummaryrefslogtreecommitdiff
path: root/trash
diff options
context:
space:
mode:
Diffstat (limited to 'trash')
-rwxr-xr-xtrash3
1 files changed, 3 insertions, 0 deletions
diff --git a/trash b/trash
index a9f6fb1..48392ca 100755
--- a/trash
+++ b/trash
@@ -12,6 +12,9 @@ if [ -z "$1" ]; then
12 echo "usage: trash [rm FILE(s)|ls|empty]" 12 echo "usage: trash [rm FILE(s)|ls|empty]"
13else 13else
14case "$1" in 14case "$1" in
15 cd)
16 cd $trashfolder
17 ;;
15 empty) 18 empty)
16 # little check 19 # little check
17 if [ -n "$trashfolder" ]; then 20 if [ -n "$trashfolder" ]; then

Generated with cgit - Back to sebastiano.tronto.net