Open QiangZiBro opened 1 year ago
Hi, I'm using zsh, suppose I defined a function in ~/.zshrc:
~/.zshrc
hello(){ echo "hello" }
Is it possible to use it with FloatermNew directly:
FloatermNew
exec 'FloatermNew hello`
not source the ~/.zshrc and then use it?
exec 'FloatermNew source ~/.zshrc && hello`
I noticed that exported variables could be sustained in new terminal but not function, how can we solve it?
Hi, I'm using zsh, suppose I defined a function in
~/.zshrc
:Is it possible to use it with
FloatermNew
directly:not source the
~/.zshrc
and then use it?I noticed that exported variables could be sustained in new terminal but not function, how can we solve it?