mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-01 20:09:13 +02:00
Renamed envs and bash/scriptlets to *.d
This commit is contained in:
parent
4aee70fd06
commit
3bbb4d6c9a
18 changed files with 2 additions and 77 deletions
10
bash/bash.d/fortune
Normal file
10
bash/bash.d/fortune
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Give a fortune cookie
|
||||
if [[ $(command -v fortune) ]]
|
||||
then
|
||||
if [[ $(command -v cowsay) ]]
|
||||
then
|
||||
fortune -so | cowsay -n
|
||||
else
|
||||
fortune -so
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue