diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-11-23 21:37:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 00:37:34 +0300 |
commit | 07cfe8bbba0851ff4989f6aaf082d72130cd0f5b (patch) | |
tree | a6b5b40c1b41b1d450bd12957d23283342958984 /alacritty.yml | |
parent | da6f0a505e0d7da181b056c52f42b5a7f0bf29ed (diff) | |
download | alacritty-07cfe8bbba0851ff4989f6aaf082d72130cd0f5b.tar.gz alacritty-07cfe8bbba0851ff4989f6aaf082d72130cd0f5b.zip |
Add support for '~/' in config imports
This allows the configuration file imports to start with '~/' and
resolve relative to the user's home directory.
There is no support for '~user/' or '$HOME/' or any other shell
expansion. However since paths relative to the home directory should be
sufficient for everything, this provides a very simple solution without
any significant drawbacks.
Fixes #4157.
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/alacritty.yml b/alacritty.yml index cdad3fe1..3c6d18ec 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -2,9 +2,12 @@ # Import additional configuration files # -# These configuration files will be loaded in order, replacing values in files -# loaded earlier with those loaded later in the chain. The file itself will -# always be loaded last. If an import path cannot be found it will be skipped. +# Imports are loaded in order, skipping all missing files, with the importing +# file being loaded last. If a field is already present in a previous import, it +# will be replaced. +# +# All imports must either be absolute paths starting with `/`, or paths relative +# to the user's home directory starting with `~/`. #import: # - /path/to/alacritty.yml |