Migrate from .stow-rename to --dotfiles

This commit is contained in:
Danielle McLean 2023-10-23 15:15:06 +11:00
parent de371ed2b9
commit c1686f9118
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
10 changed files with 0 additions and 3 deletions

View file

@ -0,0 +1,13 @@
#!/bin/zsh
# There's a weird inconsistency between the --default-key and --local-user
# arguments: when you have multiple signing subkeys, --local-user chooses the
# newest, and --default-key chooses the one that's available. The latter is
# clearly preferable. So we shuffle the arguments around a little.
for arg; do
if [[ $arg = -bsau ]]; then
args+=(-bsa --default-key)
else
args+=($arg)
fi
done
exec gpg --no-tty "${(@)args}"