On Sat, 2020-10-10 at 14:37 +0200, clime wrote:
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
I in 2005 already asked to make vim default on root user  :)
- [ "`/usr/bin/id -u 2>/dev/null || echo 0`" -le 200 ] && return
+ # [ "`/usr/bin/id -u 2>/dev/null || echo 0`" -le 200 ] && return
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
Sérgio M. B.