BBCOLORS(1)

NAME
bbcolors - Save and load text color sets for BBEdit.

SYNOPSIS
  bbcolors -save "scheme name"
  bbcolors -load "scheme name"
  bbcolors -man

DESCRIPTION
bbcolors saves and loads "sets" of text color preferences for BBEdit.

OPTIONS

-delete setname
    Delete the saved bbcolors scheme named 'setname'. Does not effect current BBEdit preferences.

-list
    List all color sets.

-load setname
    Replace current BBEdit text colors with scheme named "setname".

-save setname
    Save current BBEdit text colors to scheme named "setname', overwriting any existing scheme with that name.

-zap
    Deletes all current BBEdit (or TextWrangler) color settings, including those keyed to specific languages. For example, if you set custom colors for the Perl language in BBEdit, and then use bbcolors to load a new colorset that does not contain Perl-specific colors, your previously-set custom colors for Perl will remain in place. If you use the -zap option when loading the new scheme, however, your custom color settings will be deleted, and your Perl files will be displayed using the default colors of the just-loaded color scheme.

-lang "language name"
    Target a specific language when saving, loading, or zapping.

    •   If saving, only save those colors set for the specified language. (The <-save> command normally saves all colors.)

    •   If loading, only load those colors from the named scheme which are keyed to the specified language.

    •   If zapping, only zap the preferences keyed to the specified language.

-open
    Open the ~/Library/Application Support/BBColors/ folder in the Finder. If the folder doesn't exist, it will be created.

-bbopen
    Open the ~/Library/Application Support/BBColors/ folder in a new disk browser window using BBEdit (or TextWrangler, if used in conjunction with the -tw option). If the folder doesn't exist, it will be created.

-bbedit
    Explicitly use with BBEdit (as opposed to TextWrangler). This option is on by default.

-textwrangler
-tw Use TextWrangler instead of BBEdit.

-help
    Print a brief help message and exit.

-man
    Print the full bbcolors manual page.

-version
    Print the current bbcolors version number.

A NOTE ON TEXT ENCODING
bbcolors should work just fine with languages modules and saved color sets whose names contain non-ASCII characters. The only provision is that all input and output is assumed to be UTF-8.

VERSION HISTORY

1.0.1 - Sun 15 Oct 2006
    Switched to a more efficient method of testing whether BBEdit and TextWrangler are currently running. Cleaned up the documentation slightly, replacing several instances of "color set" with "color scheme".

COPYRIGHT AND LICENSE
Copyright (c) 2006 John Gruber. <http://daringfireball.net/>

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.