Add fortunes file.
I haven't actually added anything to it yet though.
This commit is contained in:
parent
c3ab341075
commit
1e1890efce
2 changed files with 4 additions and 0 deletions
4
.ashrc
4
.ashrc
|
@ -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
0
.fortunes
Normal file
Loading…
Reference in a new issue