diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-04-13 14:55:36 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-04-13 14:55:36 +0200 |
| commit | 8c271e3b4cbe6236b1697f589db454db2c6c3dff (patch) | |
| tree | c3532dd73922998056638e101552429f1456896c /trash | |
| parent | f65824fe2ad23b256682879b41f507f752aed488 (diff) | |
| download | scripts-8c271e3b4cbe6236b1697f589db454db2c6c3dff.tar.gz scripts-8c271e3b4cbe6236b1697f589db454db2c6c3dff.zip | |
Revert "Added trash cd command"
This reverts commit f65824fe2ad23b256682879b41f507f752aed488.
Diffstat (limited to 'trash')
| -rwxr-xr-x | trash | 3 |
1 files changed, 0 insertions, 3 deletions
| @@ -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]" |
| 13 | else | 13 | else |
| 14 | case "$1" in | 14 | case "$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 |
