12.3 C
Paris
Sunday, June 8, 2025

Can I move setting variables like PWD to an iterm set off?


For example, given the beneath set off:
Can I move setting variables like PWD to an iterm set off?

Once I double click on the captured output, it runs the script: ~/rerun_test.sh supplying the filename that was matched: 1.

Nevertheless, the appliance I work with doesn’t output the current working listing (PWD) so I have to have it obtainable to me as a variable that I can provide one way or the other or the opposite.
For semantic historical past if you run a command the PWD is 5 as an example:

Command runs if you activate Semantic Historical past on any filename. Use 1 for filename, 2 for line quantity, 3 for textual content earlier than click on, 4 for textual content after click on, 5 for pwd. It’s also possible to use interpolated string syntax.

Clearly on this context: ~/rerun_test.sh 1 5 doesn’t work.

How do you provide PWD to a coprocess script?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

error: Content is protected !!