sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
#!/bin/bash | |
[[ -z "$1" ]] && echo "Please enter a filename. Exiting..." | |
[[ -z "$1" ]] && exit 1 | |
echo | |
printf "Stripping annotations from $1... " | |
pdftk "$1" output "/tmp/$1 - uncompressed.pdf" uncompress | |
LANG=C sed -n '/^\/Annots/!p' "/tmp/$1 - uncompressed.pdf" > "/tmp/$1 - stripped.pdf" |