Small tweaks to nx-rc
Removed awk call.
By the way removed function foo()
constructs and used printf
for padding the last command.
By guessing the intention of the original code:
- fixed the problem that lastexit value gets overridden by all those printf above.
- corrected trap blacklisting