Use shell reserved word if hidden by an alias

Published: 16/07/2018
Use shell reserved word if hidden by an alias
Source: UNIX.STACKEXCHANGE.COM

How do I access a reserved word if an alias is hiding it? Here if works normally: % if : ; then echo true; fi true After aliasing if : % alias if=date % if : ; then echo true; fi zsh: parse error near `then' Prefixing with builtin or \ doesn't help: % builtin if : ; then echo true; fi zsh: parse error near `then' % \if : ; then echo true; fi zsh: parse error near `then' How do I access a res

Read more
Related news
Comment
FACEBOOK