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 /Cargo.lock | |
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 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -30,7 +30,7 @@ dependencies = [ "clap", "copypasta", "crossfont", - "dirs", + "dirs 3.0.1", "embed-resource", "fnv", "gl_generator", @@ -596,6 +596,15 @@ dependencies = [ ] [[package]] +name = "dirs" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "142995ed02755914747cc6ca76fc7e4583cd18578746716d0508ea6ed558b9ff" +dependencies = [ + "dirs-sys", +] + +[[package]] name = "dirs-sys" version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2043,7 +2052,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76971977e6121664ec1b960d1313aacfa75642adc93b9d4d53b247bd4cb1747e" dependencies = [ - "dirs", + "dirs 2.0.2", "fnv", "nom", "phf", |