Supports:
- bash
- zsh
Install aw-watcher-terminal
This is the general watcher all shell-specific watchers send the data to.
Install bash-preexecute
NOTE This is not needed for zsh, only for bash
curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o ~/.bash-preexec.sh
git clone https://github.com/otto-aa/aw-watcher-bash
Make sure that aw-watcher-terminal is running in the background. This is needed because aw-watcher-bash is just a hook which sends terminal info to aw-watcher-terminal, the data itself is then packaged and sent by aw-watcher-terminal so without that running all data will be lost.
Replace the AW_WATCHER_BASH variable to the path to the aw-watcher-bash.sh script on your computer
source $AW_WATCHER_BASH
As described here
Open a new terminal and start executing commands!