This tool allows for the installation of bash auto completion of hostnames when using SSH or RSync in Bash.
Go to file
Ze'ev Schurmann 12c3e8777c v0.2.1 Minor change in validate_hostname function 2024-08-02 02:09:56 +02:00
src v0.2.1 Minor change in validate_hostname function 2024-08-02 02:09:56 +02:00
LICENSE Initial commit 2024-07-27 15:57:43 +02:00
README.md Updated README.md with installation instructions 2024-07-27 22:37:26 +02:00
achar v0.2.1 Minor change in validate_hostname function 2024-08-02 02:09:56 +02:00
install v0.1 - First working and stable version. 2024-07-27 22:27:49 +02:00
stable_version Update stable_version 2024-07-27 17:22:00 +02:00

README.md

ACHAR

INSTALLATION

For most people it will be as simple as this...

$ curl https://git.zaks.web.za/zaks-web/achar/raw/branch/main/install | sudo bash

If you are already at root level...

# curl https://git.zaks.web.za/zaks-web/achar/raw/branch/main/install | bash

USAGE

From the bash terminal, type:

$ achar {command} {hostname}

COMMANDS

add

Adds a host to your list of common hosts

$ achar add username@hostname.domainname.tld
$ achar add username@1.2.3.4

disable

Disables auto completion of hostnames for current system user

$ achar disable

enable

Enables auto completion of hostnames for current system user

$ achar enable

help

Displays the help documentation

$ achar help

list

List all existing hosts from your list of common hosts

$ achar list

You can use also filter for a specific hostname/username or part there of

$ achar list part-of-username
$ achar list part-of-hostname

remove

Removes an existing host from your list of common hosts

$ achar remove username@hostname.domainname.tld
$ achar remove username@1.2.3.4

update

Checks for an update to ACHAR and prompts you to install it

$ achar update