add macos default config path to manpages

This commit is contained in:
taylrfnt
2025-02-22 17:46:30 -06:00
parent 5131f8a71c
commit 573fe7348b
3 changed files with 21 additions and 0 deletions

View File

@ -4,6 +4,10 @@ _\$XDG_CONFIG_HOME/ghostty/config_
: Location of the default configuration file. : Location of the default configuration file.
_\$HOME/Library/Application Support/com.mitchellh.ghostty/config_
: **On macOS**, location of the default configuration file.
_\$LOCALAPPDATA/ghostty/config_ _\$LOCALAPPDATA/ghostty/config_
: **On Windows**, if _\$XDG_CONFIG_HOME_ is not set, _\$LOCALAPPDATA_ will be searched : **On Windows**, if _\$XDG_CONFIG_HOME_ is not set, _\$LOCALAPPDATA_ will be searched
@ -23,6 +27,10 @@ for configuration files.
: Default location for configuration files. : Default location for configuration files.
**$HOME/Library/Application Support/com.mitchellh.ghostty**
: **MACOS ONLY** default location for configuration files.
**LOCALAPPDATA** **LOCALAPPDATA**
: **WINDOWS ONLY:** alternate location to search for configuration files. : **WINDOWS ONLY:** alternate location to search for configuration files.

View File

@ -4,6 +4,10 @@ _\$XDG_CONFIG_HOME/ghostty/config_
: Location of the default configuration file. : Location of the default configuration file.
_\$HOME/Library/Application Support/com.mitchellh.ghostty/config_
: **On macOS**, location of the default configuration file.
_\$LOCALAPPDATA/ghostty/config_ _\$LOCALAPPDATA/ghostty/config_
: **On Windows**, if _\$XDG_CONFIG_HOME_ is not set, _\$LOCALAPPDATA_ will be searched : **On Windows**, if _\$XDG_CONFIG_HOME_ is not set, _\$LOCALAPPDATA_ will be searched
@ -15,6 +19,10 @@ for configuration files.
: Default location for configuration files. : Default location for configuration files.
**$HOME/Library/Application Support/com.mitchellh.ghostty**
: **MACOS ONLY** default location for configuration files.
**LOCALAPPDATA** **LOCALAPPDATA**
: **WINDOWS ONLY:** alternate location to search for configuration files. : **WINDOWS ONLY:** alternate location to search for configuration files.

View File

@ -11,6 +11,11 @@ is on the roadmap but not yet supported. The configuration file must be placed
at `$XDG_CONFIG_HOME/ghostty/config`, which defaults to `~/.config/ghostty/config` at `$XDG_CONFIG_HOME/ghostty/config`, which defaults to `~/.config/ghostty/config`
if the [XDG environment is not set](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). if the [XDG environment is not set](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
**If you are using macOS, the configuration file can also be placed at
`$HOME/Library/Application Support/com.mitchellh.ghostty/config`.** This is the
default configuration location for macOS. It will be searched before any of the
XDG environment locations listed above.
The file format is documented below as an example: The file format is documented below as an example:
# The syntax is "key = value". The whitespace around the equals doesn't matter. # The syntax is "key = value". The whitespace around the equals doesn't matter.