- From source by clonning and running below command
python3 setup.py install
- Install using pip
pip install iterm_file_handler
- From git
pip install git+https://github.com/pr4bh4sh/iterm-file-handler
-
Add
/usr/local/bin/itfh "\1" "\2" "\5"
in iterm setting as below -
CMD + Click on the file path displayed in iterm
-
Profit
Add 'test' in the input as /usr/local/bin/itfh "\1" "\2" "\5" 'test'
to generate logs at ~/.iterm_file_handler.log
. By default it will log if something goes wrong.