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.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to