dotfiles/.bin/OLD/gpg-edit

5 lines
82 B
Bash
Executable File

#!/bin/sh
set -xe
f="$(readlink -f "$1")"
vim "$f.gpg" && gpg -qd "$f.gpg" > "$f"