random scripts I use
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines

  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