Skip to content

Commit

Permalink
Add bash language tags
Browse files Browse the repository at this point in the history
  • Loading branch information
sschmid committed Sep 15, 2024
1 parent c976db5 commit fface76
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Legend:
pw init <keychain> create keychain
```

```
```bash
pw init secrets.keychain-db
pw init ~/secrets.kdbx
pw init ~/secrets/ # end with `/` to create a directory for GnuPG
Expand All @@ -101,7 +101,7 @@ pw init ~/secrets/ # end with `/` to create a directory for GnuPG
pw add <name> [<account>] add entry (leave password empty to generate one)
```

```
```bash
pw add GitHub
pw add Google [email protected]
pw add Google [email protected]
Expand All @@ -110,14 +110,14 @@ pw add Google [email protected]
If a plugin doesn't support multiple entries with the same name,
you can add the account to the name:

```
```bash
pw add "Google (Work)" [email protected]
pw add "Google (Personal)" [email protected]
```

## Add entry in group

```
```bash
pw add Coding/GitHub
pw add Coding/JetBrains
```
Expand All @@ -128,7 +128,7 @@ pw add Coding/JetBrains
pw edit [<name>] [<account>] edit entry (leave password empty to generate one)
```

```
```bash
pw edit # starts fzf to select an entry
pw edit GitHub
pw edit Google [email protected]
Expand All @@ -142,7 +142,7 @@ pw [-p] no command copy (or print) password using fzf
pw [-p] <name> [<account>] copy (or print) password
```

```
```bash
pw # starts fzf to select an entry
pw GitHub
pw Google [email protected]
Expand All @@ -155,7 +155,7 @@ pw Google [email protected]
pw rm [<name>] [<account>] remove entry
```

```
```bash
pw rm # starts fzf to select an entry
pw rm GitHub
pw rm Google [email protected]
Expand All @@ -169,7 +169,7 @@ pw gen [<length>] [<class>] generate password with given length and
character class (default: 35 [:graph:])
```

```
```bash
pw gen
pw gen 16
pw gen 24 '[:alnum:]'
Expand Down

0 comments on commit fface76

Please sign in to comment.