unset global editor symlink
Mike Klinke
mklinke at axsi.com
Wed Nov 17 06:43:15 UTC 2004
On Tuesday 16 November 2004 22:32, Bob Metelsky wrote:
> I dont know where this alias is set. Ive tried to reset it in my
> .profile alias vi='/bin/vi'
> This still calls vim
>
> This seems to be set as a global alias or symlink. I want to
> define MY editor! ;-)
>
> ?
> TIA
> bob
>
I believe it's done in /etc/profile.d/vim.sh via /etc/profile (near
the end of the file) and a simple:
unalias vi
at the prompt should turn off the aliasing for the current session.
Regards, Mike Klinke
More information about the redhat-list
mailing list