diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index f278d4f8d..5114054b1 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -154,3 +154,12 @@ function trash() { IFS=$temp_ifs } +function viewDownloadsList() { + sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV*\ + 'select LSQuarantineDataURLString from LSQuarantineEvent' +} + +function removeDownloadList() { + sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV*\ + 'delete from LSQuarantineEvent' +}