mirror of https://gitlab.com/dabruh/dotfiles.git
Trash file instead of rm.
This commit is contained in:
parent
eb8f87339d
commit
cd25fb4c85
|
@ -21,7 +21,7 @@ FILE="$(get_field file)"
|
||||||
|
|
||||||
ACTION="$1"
|
ACTION="$1"
|
||||||
if [ "$ACTION" == "rm" ]; then
|
if [ "$ACTION" == "rm" ]; then
|
||||||
rm -vI "$FILE"
|
trash -v "$FILE"
|
||||||
cmus-remote --next
|
cmus-remote --next
|
||||||
elif [ "$ACTION" == "mv" ]; then
|
elif [ "$ACTION" == "mv" ]; then
|
||||||
TARGET_DIR="${2}"
|
TARGET_DIR="${2}"
|
||||||
|
|
Loading…
Reference in New Issue