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.
 
 
 
 
 
 

8 lines
264 B

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