-
-
Save antics/d5aecd709be11440d92cf35fe736626e to your computer and use it in GitHub Desktop.
acme launcher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export BROWSER=firefox | |
export tabstop=4 | |
export TERM=dumb | |
export PAGER=nobs | |
# Path to 'a' script itself | |
acme_bin_dir=$( cd $(dirname $0) && pwd ) | |
# Where are the plumber rules? | |
acme_plumber_rules="$acme_bin_dir/plumbing" | |
if [ "$(pgrep plumber)" ]; then | |
echo plumber is running | |
else | |
echo starting plumber | |
plumber | |
cat "$acme_plumber_rules" "$PLAN9/plumb/basic" | 9p write plumb/rules | |
fi | |
# In `win`, Node.js REPL looks nicer without ANSI codes | |
#export NODE_NO_READLINE=1 | |
acme -a -f /usr/local/plan9/font/lucsans/unicode.8.font $1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment