Open Naatan opened 8 years ago
Thanks for the tip!
It should depends on the current working directory of Komodo or the one in the butterfly session?
The one in the butterfly session.
That makes everything harder :stuck_out_tongue:
Sorry Nathan but I don't see any way to do it right now. The only one way which is hacky is calling pwd
directly in butterfly (as it done for "Set CWD to current path of project/buffer") and grab the stdout, but that will produce a lot of calls in the butterfly and the user will see them.
If you have any ideas - please write them there :)
I'm wondering if Butterfly has some sort of "environment" variable defined in butterfly
object (in JS), so I'd grab $PWD
then.
I'll dig into this when I get a chance.
Thank you!
I were digging in it and there's no way to do that :(
Eg. if I am in
~/Projects/komodo-dev
I'd like the tab title to say something like../komodo-dev
. You could simply set a max-width for the tab and set the label tocrop="start"