diff --git a/.zshrc b/.zshrc index e0d840f..20ce357 100644 --- a/.zshrc +++ b/.zshrc @@ -196,6 +196,11 @@ dadjoke() { curl https://icanhazdadjoke.com } +# Strip macOS junk from a zip (requires `zip`). Usage: cleanzip archive.zip +cleanzip() { + zip -d "$@" __MACOSX/\* \*/.DS_Store +} + # Find geo info from IP ipgeo() { # Specify ip or your ip will be used