I want to make my aliases available to sub-shells like this in my ~/.zshrc
say_hello() {
echo "Hello!"
}
export -f say_hello
However when I'm sourcing my ~/.zshrc
I get this error:
~/.zshrc:export:159: invalid option(s)
I want to make my aliases available to sub-shells like this in my ~/.zshrc
say_hello() {
echo "Hello!"
}
export -f say_hello
However when I'm sourcing my ~/.zshrc
I get this error:
~/.zshrc:export:159: invalid option(s)