On Mon, 09 Feb 2009, WiggyWare wrote:
>
> I'm trying to use :!command to execute commands without dropping
> into :sh, but they seem to behave differently.
>
> For instance, when I do an 'alias' from :sh, it properly shows me the
> aliases set up in .kshrc (using ksh). If I do :!alias, I do not get
> any of the aliases I set up in my .kshrc.
>
> Does anyone know how to rectify this, or at least explain it?
>
For bash, alias is a builtin command of shell, not as an external
command. Try verify by
type alias
where alias
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩282 白居易 後宮詞
淚濕羅巾夢不成 夜深前殿按歌聲 紅顏未老恩先斷 斜倚薰籠坐到明
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---