https://github.com/nyxnor/tor-bash-completion
Unnoficial bash completion for tor
https://github.com/nyxnor/tor-bash-completion
bash-completion tor
Last synced: 4 months ago
JSON representation
Unnoficial bash completion for tor
- Host: GitHub
- URL: https://github.com/nyxnor/tor-bash-completion
- Owner: nyxnor
- License: gpl-3.0
- Created: 2022-08-30T16:46:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-30T16:58:01.000Z (over 3 years ago)
- Last Synced: 2025-03-02T10:41:55.293Z (10 months ago)
- Topics: bash-completion, tor
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tor bash completion
- It can complete all options with **Tor version 0.4.7.8**.
- As tor `--help` message does not provide options and recommends to check the manual, so bash-completion `_parse_help()` does not work, this can lead to outdated futured versions of options, as these options were manually inserted.
- As for `--list-torrc-options`, it is complete and will bring all available torrc options for the cli.
- It can not complete all possible arguments, because that is would be too much work for one person and would be much better if made by upstream.
- Completing file path, directory, boolean values or few arguments are easy to deal with, but more advanced arguments that involve [addr:]port are better dealt if manually typed.
Note: Windows options were purposefully not set.
## Notice
Not endorsed by the Tor Project Organization.
## History
Tired of typying the full options, I created this bash completion for tor.
It is far from perfect, but it does the basics.
## Requirements
- **tor**
- **bash-completion**
## Installation
1. Add [tor](./tor) to `/usr/share/bash-completion/completions/` directory.
2. Source the completions with `source /usr/share/bash-completion/bash_completion`
3. Run `tor --`