#3154 PR merged: Fix issue 3151: missing .vimrc and overhauled 130_create_dotfiles.sh

Labels: enhancement, cleanup, fixed / solved / done, minor bug

jsmeix opened issue at 2024-02-15 14:44:

  • Type: Minor Bug Fix

  • Impact: Low

  • Reference to related issue (URL):
    https://github.com/rear/rear/issues/3151

  • How was this pull request tested?
    Tested with SLES15-SP5.
    It works well for me.

  • Description of the changes in this pull request:

Create an empty
usr/share/rear/skel/default/root/.vimrc
and delete the now false (directory no longer empty)
usr/share/rear/skel/default/root/.gitignore
because (as far as I vaguely remember)
we have such .gitignore files so that we can
have empty directories in git as described e.g. in
https://stackoverflow.com/questions/115983/how-do-i-add-an-empty-directory-to-a-git-repository

In build/GNU/Linux/130_create_dotfiles.sh
dynamically generate .bash_history entries
depending on whether or not 'nano' and 'vi' are available,
see https://github.com/rear/rear/issues/3151#issuecomment-1941544530

jsmeix commented at 2024-02-16 08:43:

@rear/contributors
unless there are objections I would like
to merge it next Monday afternoon.


[Export of Github issue for rear/rear.]