On Mon, 09 Feb 2009, bill lam wrote:
> 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
sorry, typo:
type alias
which alias
whereis alias
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩232 孟浩然 春曉
春眠不覺曉 處處聞啼鳥 夜來風雨聲 花落知多少
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---