Re:SpaceVim – Like Spacemacs, but for Vim
by stplsd on Wednesday January 04, 2017 @05:50AM
(#13317140)
> ~/.vimrc works on bash, but it hangs on zsh because it treats it like cat > ~/.vimrc (> without any command in front of it is not well defined in POSIX)
So portable way to do this is like this:
:> ~/.vimrc
Anyways my zsh has noclobber set so your command fails with error: zsh: file exists: ~/.vimrc