Shortens user and host for pretty-printing.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ltdk 93f015f53e Initial commit 1 year ago
src Initial commit 1 year ago
.gitignore Initial commit 1 year ago
CHANGELOG.md Initial commit 1 year ago
Cargo.lock Initial commit 1 year ago
Cargo.toml Initial commit 1 year ago
LICENSE.md Initial commit 1 year ago
Makefile Initial commit 1 year ago
README.md Initial commit 1 year ago

README.md

me

Shortens user and host for pretty-printing.

License

Available via the Anti-Capitalist Software License for individuals, non-profit organisations, and worker-owned businesses.

Installation

Just build me and who-me for your system and install them in /usr/bin.

Usage

who-me prints the effective user and host. me does the same thing but shortens the output for use on prompts. me also returns a nonzero exit status if the output gets shortened into an empty string.