Skip to content

westwardfishdme/Shell-Random-Greeter

Repository files navigation

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

Shell Random Greeter

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


Dependencies:

util-linux


Installation

Shells supported for automatic installer:

FISH, BASH, ZSH, TCSH, and KSH

Install from Install Script (Mac {Not tested} / Linux):

  1. In a terminal, type $ chmod +x install.sh
  2. In the same terminal, type: $ ./install and run through Installation Process.
  3. Run $ shell-random-greeter or $ ls /usr/bin | grep shell-random-greeter to test if the command copied to the right directory

Manual Install (Linux/Unix Systems)

  1. In a terminal type: $ chmod +x shell-random-greeter
  2. In the same terminal, type $ sudo cp shell-random-greeter /usr/bin (If not /usr/bin/, then wherever your CLI commands are held).
  3. Run $ shell-random-greeter or $ ls /path/to/dir| grep shell-random-greeter to test if the command copied to the right directory

Installing to $SHELL (MANUAL ONLY!)

Installing to any shell:

  1. Edit your config file, (looks like .*rc or check your shell's documentation for this)
  2. Add shell-random-greeter in it's own line
  3. Source it with $ source path/to/config and enjoy!

Post-Customizing 'Shell-Random-Greeter' (For Manual Install only)

!!! You can now edit shell-random-greeter without superuser priviledges! You may configure prompts from ~/.config/shellrandomgreeter/config


Known Working Shells/OS support:

Unix Shells:

  • ZSH
  • BASH
  • KSH
  • FISH
  • TCSH

Notes:

  • WinBash is sort of buggy, but I'll work it out Windows 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

Calling Custom Quotes:

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!

About

Bash Script that generates ASCII art in your terminal on launch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages