Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh complains "_purge_line:7: file exists" #23

Open
bthemad opened this issue May 24, 2011 · 1 comment
Open

zsh complains "_purge_line:7: file exists" #23

bthemad opened this issue May 24, 2011 · 1 comment

Comments

@bthemad
Copy link

bthemad commented May 24, 2011

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 added a commit to pthrasher/bashmarks that referenced this issue Sep 1, 2011
@pthrasher
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants