Installation
-
Download zet from https://git.goral.net.pl/zet.git/:
$ git clone https://git.goral.net.pl/zet.git
-
Compile and install
$ cd zet $ make $ make install
make install
respectsPREFIX
andDESTDIR
environent variables. By default zet is installed to~/.local
. If you wish to install Zet system-wide, you should change make invocation to something likePREFIX=/usr make install
-
Initialize the first notebook
$ cd ~/notebooks $ zet init
If you already have a directory with your notes, you can point zet to it:
zet init path/to/notes "My Notebook Name"
-
Set
$ZET_ROOT
to use zet from anywhere$ echo "export ZET_ROOT=\"${HOME}/notebooks\"" >> ~/.bashrc
Zet can also work without setting
$ZET_ROOT
. In that case you'll have to enter your notebook's directory (or any child directory) and run Zet commands from there. This mode is useful if you have many notebooks scattered over the file system.