From 463b58d166da5867ddb0459207940066d8cb8415 Mon Sep 17 00:00:00 2001 From: Mark Tareshawty Date: Fri, 18 Jan 2013 23:39:14 -0500 Subject: [PATCH] added capability to show and remove the stored list of everything you have downloaded in OSX --- plugins/osx/osx.plugin.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index f278d4f8d..45ff63c26 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -154,3 +154,12 @@ function trash() { IFS=$temp_ifs } +function listDownloads() { + sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV*\ + 'select LSQuarantineDataURLString from LSQuarantineEvent' +} + +function removeDownloadsList() { + sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV*\ + 'delete from LSQuarantineEvent' +}