apparmor.d icon indicating copy to clipboard operation
apparmor.d copied to clipboard

git: unexpected vim filename on Tumbleweed

Open cboltz opened this issue 9 months ago • 2 comments

The git profile contains

@{editor_path}         rcx -> editor,

which is defined as:

tunables/multiarch.d/paths:@{editor_path} = @{bin}/@{editor_names}
tunables/multiarch.d/programs:@{editor_names} = sensible-editor vim{,.*} nvim nano

Unfortunately, this doesn't match the vim filename on openSUSE Tumbleweed:

# ls -l /usr/bin/vim*
lrwxrwxrwx 1 root root       4 21. Feb 22:34 /usr/bin/vim -> alts*
lrwxrwxrwx 1 root root       4 21. Feb 22:34 /usr/bin/vimdiff -> alts*
-rwxr-xr-x 1 root root 4949200 21. Feb 22:34 /usr/bin/vim-nox11*
-rwxr-xr-x 1 root root    4822 21. Feb 22:34 /usr/bin/vimtutor*

# alts -t vim
/usr/bin/vim-nox11

Please add vim-nox11 to the list of editors.

cboltz avatar Mar 09 '25 16:03 cboltz

Thanks, that should be fixed.

roddhjav avatar Mar 10 '25 18:03 roddhjav

Yes :-)

Actually you added a bit too much - vimtutor is the vim tutorial, but not meant to be used as editor ;-) so feel free to remove it again.

cboltz avatar Mar 13 '25 13:03 cboltz

My bad, I forgot about this, it should be fixed now.

roddhjav avatar Apr 13 '25 17:04 roddhjav