I have a zsh function (see below) to that populates the document title 
based on  information about the unix command that gets piped to bbedit

e.g. Here's my function:
logbb () {
ORIG_CMD=`tail -n1 $HISTFILE| awk -F'\;' '{print $2}'`
bbedit -t "${PWD##*/} — ${ORIG_CMD} — $(date)"
}

This becomes the BBEdit document title (edited out the actual data):
<base path> — <command and params> — <date and time>

Is there any way to capture this information in BBEdit to make it part of 
the document automatically? You can access the info get Get Info, but I'd 
like to be able to automatically grab it and make it a part of the 
document. 

Thanks!

-Henry

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bbedit/6e3e6025-4ca9-4e25-b05e-5f7e4c9dc002n%40googlegroups.com.

Reply via email to