commit f65824fe2ad23b256682879b41f507f752aed488 parent adb3b867f5595645779e1d50ada271eb755ccf69 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Wed, 13 Apr 2022 14:53:17 +0200 Added trash cd command Diffstat:
M | trash | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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