Update configuration file documentation

Rename .tiorc to .tioconfig, tiorc to config, etc.
This commit is contained in:
Martin Lund 2022-12-17 16:58:24 +01:00
parent 4e9d29c88d
commit ea7f43e60c
2 changed files with 10 additions and 5 deletions

View file

@ -198,9 +198,9 @@ If needed, the prefix key (ctrl-t) can be remapped via configuration file.
Options can be set via the configuration file first found in any of the Options can be set via the configuration file first found in any of the
following locations in the order listed: following locations in the order listed:
- $XDG_CONFIG_HOME/tio/tiorc - $XDG_CONFIG_HOME/tio/config
- $HOME/.config/tio/tiorc - $HOME/.config/tio/config
- $HOME/.tiorc - $HOME/.tioconfig
The configuration file supports sub-configurations using named sections which can The configuration file supports sub-configurations using named sections which can
be activated via the command-line by name or pattern. A sub-configuration be activated via the command-line by name or pattern. A sub-configuration
@ -240,7 +240,7 @@ Or by pattern match:
$ tio usb12 $ tio usb12
``` ```
Another more elaborate configuration file example is available [here](example/tiorc). Another more elaborate configuration file example is available [here](example/config).
## 4. Installation ## 4. Installation

View file

@ -2,7 +2,12 @@
# tio - https://tio.github.io # # tio - https://tio.github.io #
############################### ###############################
# Example configuration file # Example tio configuration file
#
# Place file in any of the following locations:
# $XDG_CONFIG_HOME/tio/config
# $HOME/.config/tio/config
# $HOME/.tioconfig
# Defaults # Defaults
baudrate = 115200 baudrate = 115200