Zshell aliases like !gst inside vim?

后端 未结 2 419
耶瑟儿~
耶瑟儿~ 2021-01-11 21:03

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

2条回答
  •  一个人的身影
    2021-01-11 21:47

    Try

    :set shell=zsh\ -l

    And put the alias setting to ~/.zshenv

    Here is the similar question terminal vim not loading .zshrc.

提交回复
热议问题