On Sat, 2020-10-10 at 14:37 +0200, clime wrote: > Hello, > > could Fedora and CentOS containers for docker and podman come with > `alias vim=vi` in ~/.bashrc? > > I would very much welcome it as I am used to type vim everywhere but > if vi starts instead I am happy too. I know that the solution is to > create a customized container but often I want to try something on > vanilla containers from the whole range. > > Didn't want to write about this first but maybe there are more people > with the same problem. I think what you need is edit /etc/profile.d/vim.sh and comment line 2 [1] I in 2005 already asked to make vim default on root user [2] :) [1] - [ "`/usr/bin/id -u 2>/dev/null || echo 0`" -le 200 ] && return + # [ "`/usr/bin/id -u 2>/dev/null || echo 0`" -le 200 ] && return [2] https://bugzilla.redhat.com/show_bug.cgi?id=168010 > clime > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: > https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx -- Sérgio M. B. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx