zsh complains "_purge_line:7: file exists"
bthemad opened this issue · 1 comments
bthemad commented
It's actually a zsh issue, but can be a problem to it's users.
It writes down "_purge_line:7: file exists:" and does strange things with bookmarks, like overwrites previous or doesn't save new ones.
The problem is with zsh config option NOCLOBBER,
From zsh docs on CLOBBER:
Allows > redirection to truncate existing files, and >> to create files. Otherwise >! must be used to truncate a file, and >>! to create a file.
I'm not a bash ninja, so I can't provide a patch for this issue, I just turned it off in zsh config file
setopt CLOBBER
pthrasher commented
I just implemented a fix for this. Appears (for me at least) to be bash and zsh compatible.