UPDATE: THIS PROJECT IS NOW DEFUNCT I rewrote the entire project in C, and haven't updated this repository in a year now. go check out: https://github.com/merci-libre/scfetch
A simple bash script that will generate a random ASCII art -OR- Quote when ran. Looks like this:
Welcome! USER@HOST
Your Current Directory is: $PWD
Time of Terminal Start: (HH:MM:SS)
Default Shell: ($SHELL)
About System:
CPU MODEL:
Memory Available:
Kernel:
____________________________________
ASCII ART/QUOTE
____________________________________
user@host $
Acts as a minimalist alternative to NeoFetch/pFetch
util-linux
FISH, BASH, ZSH, TCSH, and KSH
- In a terminal, type
$ chmod +x install.sh - In the same terminal, type:
$ ./installand run through Installation Process. - Run
$ shell-random-greeteror$ ls /usr/bin | grep shell-random-greeterto test if the command copied to the right directory
- In a terminal type:
$ chmod +x shell-random-greeter - In the same terminal, type
$ sudo cp shell-random-greeter /usr/bin(If not /usr/bin/, then wherever your CLI commands are held). - Run
$ shell-random-greeteror$ ls /path/to/dir| grep shell-random-greeterto test if the command copied to the right directory
Installing to any shell:
- Edit your config file, (looks like
.*rcor check your shell's documentation for this) - Add
shell-random-greeterin it's own line - Source it with
$ source path/to/configand enjoy!
!!! You can now edit shell-random-greeter without superuser priviledges!
You may configure prompts from ~/.config/shellrandomgreeter/config
Unix Shells:
- ZSH
- BASH
- KSH
- FISH
- TCSH
Notes:
WinBash is sort of buggy, but I'll work it outWindows is depreciated.- Should work just fine on MacOS-- Since Mac's utilize the ZSH shell and is a UNIX-like OS, but I haven't tested it yet.
- Same goes for any other Unix-Like System. If any issues sprout up, pls post in the Bug Reports. Or email me @westwardfishdme@gmail.com :P
if you would rather call a specific quote, you may use shell-random-greeter [1,2,3....] which will then show that specific art/quote when running the script
Enjoy the script!