summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/jobconsider6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/jobconsider b/.local/bin/jobconsider
index 84aea74..155fcdf 100755
--- a/.local/bin/jobconsider
+++ b/.local/bin/jobconsider
@@ -4,7 +4,7 @@
#Axioms: JOBDIR
-#Dependencies: joblook
+#Dependencies: joblook https://packages.debian.org/trash-cli
numofjobs=1
@@ -19,7 +19,7 @@ then
mv -v "$consideringjob" /home/"$USER"/Documents/Jobs/Applying/"$(basename "$consideringjob" .txt)"/"$(basename "$consideringjob")"
elif [ "$Choice" = 'n' ]
then
- rm "$consideringjob"
+ trash "$consideringjob"
fi
fi
@@ -33,7 +33,7 @@ do
mv -v "$consideringjob" /home/"$USER"/Documents/Jobs/Applying/"$(basename "$consideringjob" .txt)"/"$(basename "$consideringjob")"
elif [ "$Choice" = 'n' ]
then
- rm "$consideringjob"
+ trash "$consideringjob"
fi
consideringjob="$(find /home/"$USER"/Documents/Jobs/Considering -maxdepth 1 -type f | shuf | head -1)"
numofjobs=$numofjobs+1