Add readme script
This commit is contained in:
parent
c317a06de5
commit
462f75c6f7
1 changed files with 6 additions and 0 deletions
6
bin/readme
Executable file
6
bin/readme
Executable 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
|
Loading…
Reference in a new issue