Fix arg checking in functions in bash_alias file.