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/Cargo.toml | |
parent | da6f0a505e0d7da181b056c52f42b5a7f0bf29ed (diff) | |
download | r-alacritty-07cfe8bbba0851ff4989f6aaf082d72130cd0f5b.tar.gz r-alacritty-07cfe8bbba0851ff4989f6aaf082d72130cd0f5b.tar.bz2 r-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/Cargo.toml')
-rw-r--r-- | alacritty/Cargo.toml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml index 081ea4dc..2c94093d 100644 --- a/alacritty/Cargo.toml +++ b/alacritty/Cargo.toml @@ -30,6 +30,7 @@ copypasta = { version = "0.7.0", default-features = false } libc = "0.2" unicode-width = "0.1" bitflags = "1" +dirs = "2.0.2" [build-dependencies] gl_generator = "0.14.0" @@ -43,9 +44,6 @@ image = { version = "0.23.3", default-features = false, features = ["ico"], opti [target.'cfg(target_os = "macos")'.dependencies] objc = "0.2.2" -[target.'cfg(any(target_os = "macos", windows))'.dependencies] -dirs = "2.0.2" - [target.'cfg(not(any(target_os="windows", target_os="macos")))'.dependencies] x11-dl = { version = "2", optional = true } wayland-client = { version = "0.28.0", features = ["dlopen"], optional = true } |