Add fortunes file.

I haven't actually added anything to it yet though.
This commit is contained in:
Jordan Bancino 2024-01-06 10:00:51 -05:00
parent c3ab341075
commit 1e1890efce
2 changed files with 4 additions and 0 deletions

4
.ashrc
View file

@ -238,6 +238,10 @@ PS1="\$(generate_prompt)"
# Startup functions - these are executed on every shell start. # Startup functions - these are executed on every shell start.
# #
# Display a line from the fortunes file.
cols=$(stty size | cut -d ' ' -f 2)
shuf -n 1 "$HOME/.fortunes" | fold -s -w $(($cols / 2))
# Run scansoft on shell start # Run scansoft on shell start
scansoft scansoft

0
.fortunes Normal file
View file