Every now and then I review my need for personal wiki.  I use Tiddlywiki for
a lot of things, but it's not version controlled (out of the box) and I've
also used Ikiwiki, which is really neat.  Yesterday I had a "duh" moment
when I realized I can use Fossil for this, but I wanted a nice way to start
it from Synapse by just typing wiki, so I made this script.  Maybe some
other people will find it helpful (I set the Fossil server port to 5555)...


#!/bin/sh
if nc -z localhost 5555
then
    exec google-chrome localhost:5555
else
    cd $HOME/Notes/fossil-wiki
    exec xterm -e fossil ui
fi


Bill
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to