From 60d4f53ce13dc51ae1d90ffeb4014c33c19cdf11 Mon Sep 17 00:00:00 2001 From: Coin de Gamma Date: Sat, 21 Sep 2024 10:05:59 +0000 Subject: [PATCH] installation++ --- README.md | 4 ++-- src/main.rs | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0cc4404..3751766 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ export PATH=$PATH:"/target/release" ## Intilization 1. Create empty repository for storing your passwords on gitlab or somewhere you prefer -2. Crete dir `mps`: `mkdir ~/mps` +2. Create dir `mps`: `mkdir ~/mps` 3. Clone to your home folder `~/.mps/storage`: `git clone storage` -3. Export varable $MPS_HOME: `export MPS_HOME="/home//.mps"` in your ~/.zshenv +3. Export varable `$MPS_HOME`: `export MPS_HOME="/home//.mps"` in your ~/.zshenv 4. Run `mps init` diff --git a/src/main.rs b/src/main.rs index 50f1ec5..bc3275d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,9 +82,10 @@ impl MPS { fn print_init_hint() { println!("1. Create empty repository for storing your passwords on gitlab or somewhere you prefer"); - println!("2. Clone to your home folder ~/.mps/storage"); - println!("3. xport varable $MPS_HOME: `export MPS_HOME=\"/home//.mps\"`"); - println!("4. Run `mps init`"); + println!("2. Create dir `mps`: `mkdir ~/mps`"); + println!("3. Clone to your home folder `~/.mps/storage`: `git clone storage`"); + println!("4. xport varable `$MPS_HOME`: `export MPS_HOME=\"/home//.mps\"`"); + println!("5. Run `mps init`"); } fn prompt_new_password() -> io::Result {