↧
Answer by filbranden for Have utilities like vim and less source .bash_login...
At least for Vim, you can use the following in your .vimrc: set shellcmdflag=-ic There's a call out for that in :help :!cmd: On Unix the command normally runs in a non-interactive shell. If you want an...
View ArticleHave utilities like vim and less source .bash_login or .bashrc for command lines
When I try to enter an alias into the less or vim command lines, they both print “/bin/bash: [MY ALIAS]: command not found” This alias is defined in .bashrc or .bash_login and is there a way to source...
View Article