Tag: fish

Merge photos into pdf via cmd

Here's a short function for fish shell I am currently using to merge photos into one pdf and then optimize it to massively reduce the resulting size, for instance from 13MB to 230kB without loosing too much quality. Works for me very well, requires GhostScript and ImageMagick 7 o…

Fix ANSI data in nvim execute

After migrating my dotfiles over to Mac M3 I stumbled into roadblock issue for my neovim setup. Every time I saved a PHP file, a lot of garbled data got prepended at the beginning of said file. If you remember so far back, my setup uses prettier for formatting everything, mostly …