Codocil: defaults for Itermocil
$ brew update $ brew install TomAnthony/brews/itermocil
npm install -g codocil or
yarn global add codocil
Codocil init -r at the root of your developer directory and all folders that have a known project identifier (excluding node_modules/*, my goodness could you imagine?) will be given an itermocil document. The Itermocil configuration will have two panes, one for git and one for your server.
Edit a particular project with
codocil edit <(Project Name>
This section has been slightly modified from its complement in itermocil.
To get autocompletion when typing codocil <Tab>
echo 'compctl -g \'~/.itermocil/.codocil/*(:t:r)\' codocil' >> .zshrc
The following have not been tested:
To get autocompletion when typing codocil in a bash session, add this line to your ~/.bashrc file:
complete -W "\$(codocil --cmpl)" codocil
To get autocompletion when typing codocil in a fish session, add this line to your ~/.config/fish/config.fish file:
complete -c codocil -a "(codocil --cmpl)"