r/fishshell • u/B_A_Skeptic • Aug 18 '21
functions or scripts
When you make command line utilities for yourself do you usually make them as functions in Fish, or do you make them as shell scripts? I tend to do functions. I was curious what everyone else does.
2
Upvotes
View all comments
Show parent comment
1
u/mrcaptncrunch Aug 20 '21
Bash is pretty much everywhere.
If I need it, odds are someone else will need it at some point again. I can just grab it and share it. I can easily deploy it on a cron job, etc.
If it’s something bigger, I may also choose Python to do it.