bashrc, zshrc and gitconfig: use --untracked-files=no and improve portability