* initial work on docs * fix DOCKER_VERSION * update location * add the path **properly** * Update docs workflow
14 lines
523 B
Bash
Executable File
14 lines
523 B
Bash
Executable File
#!/bin/bash
|
|
set -x -e
|
|
go install github.com/homeport/termshot/cmd/termshot@main
|
|
cargo install onefetch
|
|
COMMIT_COUNT=$(git log --pretty=format:'' | wc -l | xargs)
|
|
echo Commit count: $COMMIT_COUNT
|
|
if (( $COMMIT_COUNT % 69 == 0 ))
|
|
then
|
|
echo "easter egg, yay!"
|
|
termshot --show-cmd --filename Writerside/assets/onefetch.png -- "onefetch --number-of-authors 0 -a html | lolcat"
|
|
else
|
|
echo "normal. Yay."
|
|
termshot --show-cmd --filename Writerside/assets/onefetch.png -- "onefetch --number-of-authors 0 -a c++"
|
|
fi |