diff options
author | Dylan Premo <cyhyraethz@gmail.com> | 2024-01-18 15:28:12 -0800 |
---|---|---|
committer | Dylan Premo <cyhyraethz@gmail.com> | 2024-01-18 15:48:14 -0800 |
commit | c3d75383f89a568b0ee0dc6f807f18f1c8bb9311 (patch) | |
tree | 8bc968a3fb5d16fc3cede21da0475aa3d232e97c /src/config/mod.rs | |
parent | 80e30b508bc04cc91263bb549e527c1c06c31d25 (diff) |
Add config option to support tealdeer
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r-- | src/config/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index b652608..a5b89c1 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -99,6 +99,10 @@ impl Config { .or_else(|| self.yaml.finder.overrides_var.clone()) } + pub fn tealdeer(&self) -> bool { + self.yaml.client.tealdeer.clone() + } + pub fn shell(&self) -> String { self.yaml.shell.command.clone() } |