aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-04-13 14:55:36 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2022-04-13 14:55:36 +0200
commit8c271e3b4cbe6236b1697f589db454db2c6c3dff (patch)
treec3532dd73922998056638e101552429f1456896c
parentf65824fe2ad23b256682879b41f507f752aed488 (diff)
downloadscripts-8c271e3b4cbe6236b1697f589db454db2c6c3dff.tar.gz
scripts-8c271e3b4cbe6236b1697f589db454db2c6c3dff.zip
Revert "Added trash cd command"
This reverts commit f65824fe2ad23b256682879b41f507f752aed488.
-rwxr-xr-xtrash3
1 files changed, 0 insertions, 3 deletions
diff --git a/trash b/trash
index 48392ca..a9f6fb1 100755
--- a/trash
+++ b/trash
@@ -12,9 +12,6 @@ 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 ;;
18 empty) 15 empty)
19 # little check 16 # little check
20 if [ -n "$trashfolder" ]; then 17 if [ -n "$trashfolder" ]; then

Generated with cgit - Back to sebastiano.tronto.net