On Feb 9, 9:58 am, Teemu Likonen <[email protected]> wrote:
> On 2009-02-09 22:28 (+0800), bill lam wrote:
>
> > For bash, alias is a builtin command of shell, not as an external
> > command.
>
> Being a shell built-in command is not the issue. For example, "cd" is
> also a built-in and it works in non-interactive shells:
>
> $ bash -c "cd / && ls"
>
> (Vim's :! command runs a non-interactive shell.)
>
> But aliases don't work there because they are expanded only in
> interactive shells.
Ahh, thank you. I knew I had the shell set properly, but I didn't
realize that about alias.
Thanks again!
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---