diff options
| author | El-BG-1970 <elouan.gros.fr@gmail.com> | 2022-04-29 19:34:07 +0200 |
|---|---|---|
| committer | El-BG-1970 <elouan.gros.fr@gmail.com> | 2022-04-29 19:34:07 +0200 |
| commit | 48bd6085d67e6b702932e468ce5e44156a663060 (patch) | |
| tree | ad156705063e902597007227622a20d67e0194b5 /src/main.rs | |
| parent | 90cf1fff49dbbf12bf4151878674ad3ff567dcaf (diff) | |
| download | rush-48bd6085d67e6b702932e468ce5e44156a663060.tar.gz | |
parser
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index b1fb7b7..b202f39 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,6 +4,8 @@ use std::process::{Command}; use std::env; use std::path::Path; +mod parser; + fn substitute_vars(word: &str) -> String { match word { "~" => env::var("HOME").unwrap(), |
