Re: vim and /etc/alternatives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, Mar 10, 2007 at 05:23:40PM +0100, Patrice Dumas wrote:
> I want the reverse. 

/etc/alternatives is a solution for both of us, isn't it? :)

> After looking more seems like that when vim-minimal (with vi) and 
> vim-enhanced (with vim) are installed an alias is done in /etc/profile.d 
> to alias vi to vim.

Uh, that's evil :) -- e.g. view still runs /bin/vi.

> Why don't you alias vim to gvim?

Because that would run the gui automatically. We'd need an alias that
preserves argv[0].

-- 
TJ., BaseOS, Brno, CZ

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux