top | item 41529267

(no title)

hobabaObama | 1 year ago

thank you.

Just created an alias

alias waitfor='f() { sleep $1; say "Task $2 is probably done now"; }; f'

discuss

order

voytec|1 year ago

Why an alias creating a function and running it, instead of just defining the waitfor() function?

    function waitfor(){ sleep $1; say "Task $2 is probably done now"; }