On Sat, 9 Nov 2002 [EMAIL PROTECTED] wrote: > Thanks I removed the vim-enhanced package it still has a weird twist > if you type vi instead of /bin/vi it gives you the error > /usr/bin/vim No such file I just added an alias to my .bashrc for > now but does anyone know where it is telling the system to look for > /usr/bin/vim instead of /bin/vi when you type vi ? > Linda
this is a product of the /etc/profile.d directory. if you look toward the end of /etc/profile, there is a loop that sources all of the .sh files in /etc/profile.d. this is, IMHO, a brilliant idea since it gives any additional software you install the ability to add its own startup setup in a separate file that is automatically sourced by users. note the vim.sh file, which sets an alias for you. so you have a choice: 1) remove the vim.sh file or, in any other way, deactivate it. 2) "unalias vi" in your own personal startup file to override/ remove that alias rday -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list