Hacker News new | past | comments | ask | show | jobs | submit login

thank you.

Just created an alias

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




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"; }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: