News for hackers. Stuff that matters.
Re:Ok-Cancel versus Cancel-Ok by llcoolv on Saturday June 09, 2018 @08:30AM (#17272698)
lol. good luck running a bash script that does a bunch of 'rm's.
Re:Ok-Cancel versus Cancel-Ok by jeremyjh on Saturday June 09, 2018 @09:05AM (#17272818)
His aliases wouldn't be in scope there.
Re:Ok-Cancel versus Cancel-Ok by llcoolv on Saturday June 09, 2018 @11:47AM (#17273554)
Thanks a lot! Here is a better explanation https://unix.stackexchange.com/questions/362546/what-is-the-... . This seems like a decent gap in my knowledge.

Is it still going to be out of scope if he e.g. runs the shell script from the shell?

Re:Ok-Cancel versus Cancel-Ok by jeremyjh on Saturday June 09, 2018 @12:36PM (#17273763)
Not if the alias is in .bashrc / .zshrc and they execute the shell script in the normal way. If they source the script, sure. But no one runs scripts that way, for this exact reason.