smart selection action: incorrect directory
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version:Build 3.2.20180726-nightly
- OS version: OS X High Sierra
Detailed steps to reproduce the problem:
- I specify a regex to match: File "./myfile.py", line 156, in
- I specify the action: /full/path/to/script \1:\2 \d \u \h
- I get the following printed: file="./rtstats.py:156" line="156" dir="" user="myuser" host="MyMachine.local" pwd="/"
What happened:
pwd was not the working directory of where I clicked (ok I guess) \d was empty
What should have happened:
\d was empty, it should have been the directory from shell integration (which seems to be working well)
Also it would be create the log the command and arguments in the debuglog (checked the other day so might be wrong) and to the console when logging to console is selected for smart selection.