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 bcd5d60b0d Initial commit 2 months ago
src Initial commit 2 months ago
.editorconfig Initial commit 2 months ago
.gitignore Initial commit 2 months ago
CHANGELOG.md Initial commit 2 months ago
Cargo.lock Initial commit 2 months ago
Cargo.toml Initial commit 2 months ago
LICENSE.md Initial commit 2 months ago
Makefile Initial commit 2 months ago
README.md Initial commit 2 months 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.