mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
added capability to show and remove the stored list of everything you have downloaded in OSX
This commit is contained in:
parent
615e41b0ec
commit
463b58d166
1 changed files with 9 additions and 0 deletions
|
|
@ -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'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue