bashmarks icon indicating copy to clipboard operation
bashmarks copied to clipboard

zsh complains "_purge_line:7: file exists"

Open bthemad opened this issue 14 years ago • 1 comments

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

bthemad avatar May 24 '11 12:05 bthemad

I just implemented a fix for this. Appears (for me at least) to be bash and zsh compatible.

pthrasher avatar Sep 01 '11 18:09 pthrasher