summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..b28778d
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,8 @@
+use std::{fs, path::Path};
+fn main() {
+ let mut result = Ok(());
+ if !Path::new("~/.tmux-thing").exists() {
+ result = fs::create_dir("~/.tmux-thing");
+ }
+ println!("{:?}", result)
+}