what is the zsh equivalent of bash's export -f
55
votes
4
answers
26350
views
So I started using
zsh
. I like it all right. It seems very cool and slick, and the fact that the current working directory and actual command line are on different lines is nice, but at the same time, I'm noticing that zsh
can be a bit slower than bash
, especially when printing text to the screen.
The thing I liked best was the fact that zsh
was 'backward compatible' with all of the functions I defined in my .bashrc
.
One gripe though. The functions all work perfectly, but I can't figure out how the exporting system works.
I had some of those .bashrc
functions exported so that I could use them elsewhere, such as in scripts and external programs, with export -f
.
In zsh, exporting doesn't seem to even be talked about. Is it autoloading? Are those two things the same? I'm having a seriously hard time figuring that out.
Asked by ixtmixilix
(13520 rep)
Dec 25, 2012, 12:54 AM
Last activity: Oct 21, 2024, 08:18 PM
Last activity: Oct 21, 2024, 08:18 PM