Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Re: Insecure tempfile creation



On Fri, 9 Jan 2015 09:02:38 +0000
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Fri, 9 Jan 2015 03:51:01 +0100
> Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> > Actually all the builtins foo in zsh/files are also available as zf_foo.
> 
> You're right, that's another, different, special case.  But it's the one
> that probably matters the most in practice.

Hey, I made this work!  Well, I assume it was me...

% zmodload -m -F zsh/files b:zf_\*
% zmodload -lF zsh/files
-b:chgrp
-b:chown
-b:ln
-b:mkdir
-b:mv
-b:rm
-b:rmdir
-b:sync
+b:zf_chgrp
+b:zf_chown
+b:zf_ln
+b:zf_mkdir
+b:zf_mv
+b:zf_rm
+b:zf_rmdir
+b:zf_sync

I feel quite smart, now.

Probably worth mentioning in the zsh/files doc.

pws



Messages sorted by: Reverse Date, Date, Thread, Author