Move to Chezmoi
This commit is contained in:
parent
f216c4ff2c
commit
e3498e73b5
59 changed files with 499 additions and 2240 deletions
chezmoi/dot_zshrc.d
13
chezmoi/dot_zshrc.d/executable_pdf_join.zsh
Normal file
13
chezmoi/dot_zshrc.d/executable_pdf_join.zsh
Normal file
|
@ -0,0 +1,13 @@
|
|||
if [[ "$OSTYPE" = darwin* ]]; then
|
||||
pdf_join() {
|
||||
(
|
||||
set -euo pipefail
|
||||
|
||||
read -r "output_file?Name of output file: "
|
||||
"/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" \
|
||||
-o "$output_file" "$@"
|
||||
|
||||
open "$output_file"
|
||||
)
|
||||
}
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue