Work with all shells, not just bash.