Open a Directory Tree in a BBEdit Disk Browser from the Shell (Like an "Insta-Project", But Without the Nagging)
With the more recent versions of BBEdit, opening a directory from the command line by using "bbedit DIR" results in a "insta-project". This is pretty useful, in many ways
including providing a distinct target for multi-file search-and-replace. However, if you filter the files in the insta-project view in any way, BBEdit inevitably prompts you to save the project before exiting. This, on the other handy, is annoying, especially if you frequently open and close directories from the command-line. This very issue was discussed in the BBEdit forums recently, and Rich Siegal suggested using the disk browsers instead of insta-projects. Disk browsers have all the important ergonomics of insta-projects, without the nagging need to save the projects itself. As note in the discussion, the way to make BBEdit open a disk browser instead of a insta-project when invoked on a directory on the command line is to set the preference by running:
defaults write com.barebones.bbedit Misc:MakeTempProjectForFolderOpen -bool NO
feed
Post new comment