Zshell aliases like !gst inside vim?

aliases, bash, vim, zsh

Solution

Try

:set shell=zsh\ -l

And put the alias setting to `~/.zshenv`

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

Problem

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

Original source

Related problems