Re:Huffshell: You probably type too much.
by rm999 on Monday August 06, 2012 @07:52PM
(#4347924)
I may misunderstand what you mean, but isn't unmapping standard commands bad for portable scripting? Not everyone will have the same aliases as you; for something like git commit this may not matter, but it seems like a bad habit to me. And again, I may misunderstand what you mean, I don't even know how to make it impossible to type a command.
[ Parent
| on HN ]
Aliases typically only apply to interactive usage. From 'man bash':
Aliases are not expanded when the shell is not interactive,
unless the expand_aliases shell option is set using shopt (see
the description of shopt under SHELL BUILTIN COMMANDS below).