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.
|
4 months ago | |
---|---|---|
src | 4 months ago | |
.editorconfig | 5 months ago | |
.gitignore | 5 months ago | |
CHANGELOG.md | 4 months ago | |
Cargo.lock | 4 months ago | |
Cargo.toml | 4 months ago | |
LICENSE.md | 5 months ago | |
Makefile | 5 months ago | |
README.md | 5 months ago |
README.md
omst
Reveals whomst thou art with a single character.
License
Available via the Anti-Capitalist Software License for individuals, non-profit organisations, and worker-owned businesses.
Installation
Just build omst
for your system and install it in /usr/bin
.
Usage
omst
prints one of five characters based upon your effective user permissions:
#
for absolute permissions (i.e.root
, administrator)@
for system users$
for ordinary users%
for restricted users (e.g.nobody
, guest)?
if any error occurs
In all cases, the character is followed by a newline. If an error occurs, it may be printed to
stderr
; be sure to suppress this error if you plan to use the character in a prompt.
System support
Currently, unix-family systems (including Linux, Mac OS, and most BSDs) and Windows are supported. Android and iOS support is currently not available.