Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

vifm package for arch linux built incorrectly?

0 votes
asked Jul 26 in vifm by jose
edited Jul 26 by xaizek

vifm package for arch is created using this pkgbuild:

https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/vifm

is there a problem with the flags/arguments to configure? because if i do :colorscheme xyz i can see that the following locations are being searched:

  • ~/.vifm/colors
  • /etc/vifm/colors

but the schemes are actually located in /usr/share/vifm/colors:

pacman -Ql vifm | grep colors/
vifm /usr/share/vifm/colors/
vifm /usr/share/vifm/colors/astrell-root.vifm
vifm /usr/share/vifm/colors/astrell-user.vifm
vifm /usr/share/vifm/colors/dmilith-root.vifm
vifm /usr/share/vifm/colors/dmilith-user.vifm
vifm /usr/share/vifm/colors/istib-solarized-dark.vifm
vifm /usr/share/vifm/colors/juef-zenburn.vifm
vifm /usr/share/vifm/colors/reicheltd-light.vifm

thank you, jose

1 Answer

0 votes
answered Jul 27 by xaizek
 
Best answer

The package is fine. Those color schemes weren't meant to be used out of the box originally, more like examples.

Actually they were put there before /etc/vifm/colors was introduced, but I'm not sure it's worth installing them globally. If installing color schemes like that, then it should be those which are in vifm-colors.

commented Jul 27 by jose

i find it a bit strange that vifm is looking into directory which doesn't even exist after building. but anyway i made a pkgbuild for the additional color schemes that arch linux users can try after doing `mkdir /etc/vifm/; ln -s /usr/share/vifm/colors /etc/vifm/colors` (https://aur.archlinux.org/packages/vifm-colors-git/)

commented Jul 27 by xaizek

i find it a bit strange that vifm is looking into directory which doesn't even exist after building

It's a directory for global configuration to be shared among multiple users. Maybe sample vifmrc and color schemes will be moved there someday.

i made a pkgbuild for the additional color schemes that arch linux users can try

Thanks.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...