Skip to content

Commit

Permalink
Add Bash tab completion instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonVanAssche committed Apr 22, 2024
1 parent b23a978 commit 33b68ba
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/wiki/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ Enter the key ID associated with your GPG key: 91082EE1

That's it, you can now start using BashPass!

# 3.0 Updating
# 3. Updating

To update BashPass, you can follow the same steps as the installation process.

# 4.0 Uninstalling
# 4. Uninstalling

Uninstalling BashPass is also fairly straightforward, `make uninstall` can be used to remove BashPass from your system.

Expand All @@ -227,3 +227,14 @@ $ rm -rf /usr/share/man/man1/bashpass.{1,conf.1}.gz
$ rm -rf /usr/local/bin/bashpass
$ rm -rf /usr/local/share/man/man1/bashpass.{1,conf.1}.gz
```

# 4. Bash tab completion

To enable tab completion for BashPass options and stored password names within the Bash prompt,
users can utilize the provided [`bashpass-completion.sh`](https://github.com/AntonVanAssche/BashPass/blob/master/scripts/bashpass-completion.sh)
script located in the [`scripts`](https://github.com/AntonVanAssche/BashPass/tree/master/scripts) directory.
By appending the line below to their `.bashrc` file:

```bash
. /path/to/bashpass-completion.sh
```

0 comments on commit 33b68ba

Please sign in to comment.