Add readme script

This commit is contained in:
Talia 2020-01-20 15:26:59 +01:00
parent c317a06de5
commit 462f75c6f7
1 changed files with 6 additions and 0 deletions

6
bin/readme Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
file=$(find . -iname readme.md | tail -1)
if [ -e "$file" ]
then zread $file
else /bin/echo -e '\033[01;31m'"No readme file found"
fi