From f65824fe2ad23b256682879b41f507f752aed488 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 13 Apr 2022 14:53:17 +0200 Subject: Added trash cd command --- trash | 3 +++ 1 file changed, 3 insertions(+) (limited to 'trash') diff --git a/trash b/trash index a9f6fb1..48392ca 100755 --- a/trash +++ b/trash @@ -12,6 +12,9 @@ if [ -z "$1" ]; then echo "usage: trash [rm FILE(s)|ls|empty]" else case "$1" in + cd) + cd $trashfolder + ;; empty) # little check if [ -n "$trashfolder" ]; then -- cgit v1.3