diff --git a/mini.sh b/mini.sh index fe2ad79..d7b82d9 100644 --- a/mini.sh +++ b/mini.sh @@ -1,7 +1,7 @@ #!/bin/bash #Setup the functions toilet "MiniShell" -f mini --metal -echo -e "\e[1;34mMiniShell \e[1;35m1.0 \e[0;0mby Kat21. Type \e[1;36m'help' \e[0;0mfor commands." +echo -e "\e[1;34mMiniShell \e[1;35m1.0 \e[0;0mby CoconutDev. Type \e[1;36mhelp \e[0;0mfor commands." function jumpto() { label=$1 cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$') @@ -15,6 +15,10 @@ command -v toilet if [ "$?" == "1" ]; then echo "Toilet not found. Please install it!" fi +command -v figlet +if [ "$?" == "1" ]; then + echo "Figlet not found. Please install it!" +fi jumpto $start @@ -60,5 +64,5 @@ fi welcome: toilet "MiniShell" -f mini --metal -echo -e "\e[1;34mMiniShell \e[1;35m1.0 \e[0;0mby Kat21. Type \e[1;36m'help' \e[0;0mfor commands." +echo -e "\e[1;34mMiniShell \e[1;35m1.0 \e[0;0mby CoconutDev. Type \e[1;36mhelp \e[0;0mfor commands." jumpto start \ No newline at end of file diff --git a/readme.md b/readme.md index 02b747f..aa3c667 100644 --- a/readme.md +++ b/readme.md @@ -1,14 +1,26 @@ -![MiniShell logo](./logo.svg) --- +# ![MiniShell logo](./logo.svg) + +![GitHub last commit](https://img.shields.io/github/last-commit/datkat21/minishell?style=flat-square) + +![GitHub Release Date](https://img.shields.io/github/release-date/datkat21/minishell?style=flat-square) + MiniShell is a small "shell" made in Bash for fun. -It takes use input and outputs something. -Type "help" for some commands. -
+You can type `help` for some commands. -Setting up --- +## Setting up Clone the repository, you need `git` . -`` `git clone https://github.com/datkat21/minishell` `` -
-[License](./LICENSE) | [Creator](https://github.com/datkat21) + +```git clone https://github.com/datkat21/minishell``` + +Next, run the script. + +```bash minishell/mini.sh``` + +## Troubleshooting + +`toilet` and `figlet` are required to display the welcome splash. + +![Discord](https://img.shields.io/discord/507735969731182592?style=flat-square) + +![GitHub release (latest by date)](https://img.shields.io/github/v/release/datkat21/minishell?style=flat-square)