random scripts I use
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
264B

  1. #!/usr/bin/env fish
  2. function wiki-preview -d "Preview a wiki page" -a wiki mdwn
  3. scp "$mdwn" "$_agw_secret_ikiwiki_login":/tmp/test.mdwn
  4. ssh "$_agw_secret_ikiwiki_login" \
  5. "ikiwiki --setup ~/$wiki.setup --render /tmp/test.mdwn" > \
  6. /tmp/wikipreview.html
  7. end