Are you lucky today? Run goodluck to find out.
Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of
go
& fortune
.
Installing goodluck
To install goodluck, follow these steps:
git clone https://github.com/2kabhishek/goodluck
cd goodluck
go build
go install
Using goodluck
USAGE:
goodluck
You may also have to export your fortune files path as an environment variable.
It can be done like this:
fortune -f # Copy the path in output
export FORTUNE_PATH="/copied/path/"