tab-rs icon indicating copy to clipboard operation
tab-rs copied to clipboard

Name collision with tab, the programming language

Open kseistrup opened this issue 3 years ago • 3 comments

The programming language tab, which has been around since 2014, is using the name tab for its binary.

It is somewhat unfortunate that tab-rs is using the same name for one of its binaries. For instance, it is impossible to install both tab, the programming language, and tab-rs, the multiplexer, in ArchLinux, as tab-rs conflicts with tab:

  • https://aur.archlinux.org/packages/tab
  • https://aur.archlinux.org/packages/tab-rs/

If I have the tab package installed and wish to try out tab-rs, the installer will ask me to uninstall tab. If I refuse, it will abort the installation process.

Any suggestions?

kseistrup avatar Nov 24 '20 19:11 kseistrup

Hi @kseistrup, I see the issue... I'll take a look at this and I'll see if I can find a solution. I did some searching for conflicts when I named the project, and it appears I missed the tab programming language.

I don't think the tab-rs package would break if it's installed to tab-rs. But the documentation in tab --help and the readme docs would have an incorrect binary name.

austinjones avatar Nov 24 '20 19:11 austinjones

Thank you. I am currently playing with a customized package that uses the name tab-rs for the binary. For an uninitiated it seems to work just fine.

kseistrup avatar Nov 24 '20 20:11 kseistrup

Sure! All it needs to run is write access to $XDG_CONFIG_HOME/tab as the current user, and permission to relaunch the executable that was invoked on the command line. Everything is built into one binary.

By the way, thank you for deploying tab on arch linux! It's really cool that you are making it more accessible. Let me know however I can help.

I think there are two things I can do here:

  • Update the readme with pacman install instructions!
  • Have tab --help find/replace the binary name that tab was installed with.

austinjones avatar Nov 24 '20 21:11 austinjones