Misc Settings
These are some one-off settings that doen't really belong anywhere else.

nativeShell

string
This setting affects how CommandBox invokes the shell for the run command or when using the !binary shortcut. The default *nix shell used for the run command is /bin/sh but you can override it to use a custom shell. Set the full path to the shell binary.
1
config set nativeShell=/bin/zsh
2
config show nativeShell
Copied!

tagVersion

boolean
Running the bump command from a Git repo will attempt to tag the repo unless you provide the tagVersion parameter. This setting provides a global default to prevent CommandBox from trying to tag Git repos.
1
config set tagVersion=false
2
config show tagVersion
Copied!

tagPrefix

string
Running the bump command from a Git repo will tag the repo using the format v{version} such as v1.0.0 or v4.3.6. You can remove the v or swap it for another prefix using the tagPrefix parameter. Remember, another string like foo1.2.3 will not be parseable by CommandBox as a valid semver. This setting can be overriden by the tagPrefix parameter to the bump command.
1
config set tagPrefix=''
2
config show tagPrefix
Copied!

artifactsDirectory

string
You can control where your artifact cache is stored with the artifactsDirectory config setting. This can be useful to keep your primary drive from filling up, or to point your files to a shared network drive that your coworkers can share.
1
config set artifactsDirectory=/path/to/artifacts
2
config show artifactsDirectory
Copied!

colorInDumbTerminal

boolean
You can enable this setting if you want to force CommandBox to output ANSI formatting code even though you're running box inside of a non-interactive terminal. This is handy for CI builds such as Gitlab, which will process color coded text in your job logs. Default value is false.
1
config set colorInDumbTerminal=true
2
config show colorInDumbTerminal
Copied!

preferredBrowser

string
Used to override the default browser to open when a server starts, or when using a command like server open or calling the openURL() method from a command or Task Runner. Possible values are:
    firefox
    chrome
    opera
    edge (Windows and Mac only)
    ie (Windows only)
    safari (Mac only)
    konqueror (Linux only)
    epiphany (Linux only)
1
config set preferredBrowser=chrome
2
config show preferredBrowser
Copied!

tabCompleteInline

boolean
You can change CommandBox's default tab completion to be an inline list that follows your cursor. This setting requires you to close and re-open the shell to take affect.
1
config set tabCompleteInline=true
2
config show tabCompleteInline
Copied!
Last modified 5mo ago