I am having trouble getting aliases to work in Vim when I try to run shell commands.
I am using a fork of Thoughtbot dotfiles and running vim in iTerm2.
Stack Overflow seems to indicate that the best way to get my .aliases and .aliases.local to source is to set
set shellcmdflag='-ic', but when I do that, I get an error about Zsh not being able to open the input file ‘-ic’, and it still doesn’t seem to source my aliases. Using
set shell=zsh\ -i also doesn’t seem to result in the shell called from
:sh loading my aliases.
I’ve been trying to read the Zsh documentation to see if there’s a command I could run that would allow me to just manually force zsh to load my aliases on load, and I’m coming up short. Are Thoughtboters just running commands from a tmux pane rather than using !command at a vim command line?