Minor adjustments for acme-ed.sh
1 files changed, 3 insertions(+), 1 deletions(-) M acme-ed.sh
M acme-ed.sh => acme-ed.sh +3 -1
@@ 1,13 1,15 @@ #!/bin/bash set -euo pipefail # A GIT_EDITOR for Acme # A GIT_EDITOR for Acme - this sucks, written in Bash?? # Steps to "open file" winid=$(9p read acme/new/ctl | awk '{ print $1 }') echo "name $1" |9p write acme/$winid/ctl echo "get" |9p write acme/$winid/ctl # TODO Probably better to monitor the events in Acme than scrape the # index every second carryon=true while "$carryon"; do sleep 1