8000
Skip to content

Conversation

@Duncaen
Copy link
Member
@Duncaen Duncaen commented 8000 Oct 14, 2020

No description provided.

@Duncaen
Copy link
Member Author
Duncaen commented Oct 14, 2020

xbps-alternatives -Rl produces https://gist.github.com/Duncaen/578435c3619c372ee2463ef79dbd5edb.

This also works for specific groups:

$ ./bin/xbps-alternatives/xbps-alternatives -Rlg vim
vim
 - gvim-8.2.1666_2
  - vim:/usr/bin/gvim
 - gvim-huge-8.2.1666_2
  - vim:/usr/bin/gvim-huge
 - neovim-0.4.4_1
  - vim:/usr/bin/nvim
  - vim.1:/usr/share/man/man1/nvim.1
 - vim-8.2.1666_2
  - vim:/usr/bin/vim-normal
 - vim-huge-8.2.1666_2
  - vim:/usr/bin/vim-huge
 - vim-x11-8.2.1666_2
  - vim:/usr/bin/vim-x11
$ # without -R
$ ./bin/xbps-alternatives/xbps-alternatives -lg vim
vim
 - vim (current)
  - vim:/usr/bin/vim-normal

@lgtm-com
Copy link
lgtm-com bot commented Oct 14, 2020

This pull request introduces 1 alert when merging 8052917 into 05ff04a - view on LGTM.com

new alerts:

  • 1 for Empty branch of conditional

@classabbyamp
Copy link
Member
classabbyamp commented Sep 12, 2023

this looks like it would fix my issue (#499), but it just exits without doing anything: nevermind, it works now

outdated log

$ LD_LIBRARY_PATH=./lib/ bin/xbps-alternatives/xbps-alternatives -dRlg vim 
[DEBUG] XBPS: 0.60 API: 20200423 GIT: a9c3af43
[DEBUG] Processing configuration directory: /usr/local/etc/xbps.d
[DEBUG] Processing system configuration directory: /usr/local/share/xbps.d

@Duncaen Duncaen force-pushed the alternatives-list branch from 1932fff to da0a442 Compare May 21, 2025 15:11
@Duncaen Duncaen merged commit da0a442 into void-linux:master May 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0