Browse Source

installation++

fix-typo
Coin de Gamma 3 months ago
parent
commit
60d4f53ce1
  1. 4
      README.md
  2. 7
      src/main.rs

4
README.md

@ -23,9 +23,9 @@ export PATH=$PATH:"<mps_git_repo__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 <your_storage_url> storage`
3. Export varable $MPS_HOME: `export MPS_HOME="/home/<your_username>/.mps"` in your ~/.zshenv
3. Export varable `$MPS_HOME`: `export MPS_HOME="/home/<your_username>/.mps"` in your ~/.zshenv
4. Run `mps init`

7
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/<your_username>/.mps\"`");
println!("4. Run `mps init`");
println!("2. Create dir `mps`: `mkdir ~/mps`");
println!("3. Clone to your home folder `~/.mps/storage`: `git clone <your_storage_url> storage`");
println!("4. xport varable `$MPS_HOME`: `export MPS_HOME=\"/home/<your_username>/.mps\"`");
println!("5. Run `mps init`");
}
fn prompt_new_password() -> io::Result<String> {

Loading…
Cancel
Save