Yesterday I found out about git-peek (https://github.com/Jarred-Sumner/git-peek). Instead of describing how satisfying it is to use, here is a GIF: https://imgur.com/a/cT8zAha
It uses a temp directory, and deletes it when you close your editor.
It uses a temp directory, and deletes it when you close your editor.
Having it as button in browser seems cool but also horribly insecure...
#!/usr/bin/env bash
# Expects a single argument: git-peek://<path>
# Example: git-peek://https://github.com/Jarred-Sumner/peek
kitty --single-instance --detach -e zsh -c "source ~/.zshrc; git peek $1"
You can set it up to do anything you like.Is there a reasonably legitimate reason to stop using this?