dotfiles/.bin/dev-continue

9 lines
144 B
Plaintext
Raw Normal View History

2023-02-22 08:31:38 +01:00
#!/bin/ksh -i
f="$(cat /var/cache/dmark)"
cd "$(dirname "$f")"
owner="$(stat -f %Su "$f")"
doas chown sdk "$f"
vim "$f"
doas chown $owner "$f"