Zshell别名一样!GST Vim里面? [英] Zshell aliases like !gst inside vim?
本文介绍了Zshell别名一样!GST Vim里面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法运行里面的vim我zshell别名,与输出去一个新的分割?
我用哦,我-的zsh的git的别名,比如 GST
,我不能做 :! GST
Vim内部。
感谢
解决方案
尝试
:一套SHELL = zsh的\\ -l </ P>
和把别名设置〜/ .zshenv
下面是类似的问题终端VIM不加载.zshrc 。
Is there a way to run my zshell aliases inside vim, with the output going to a new split?
I'm using oh-my-zsh's git aliases like gst
, and I am unable to do :!gst
inside vim.
Thanks
解决方案
Try
:set shell=zsh\ -l
And put the alias setting to ~/.zshenv
Here is the similar question terminal vim not loading .zshrc.
这篇关于Zshell别名一样!GST Vim里面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文