Package Details: asdf-vm 0.8.0-1

Git Clone URL: https://aur.archlinux.org/asdf-vm.git (read-only, click to copy)
Package Base: asdf-vm
Description: Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
Upstream URL: https://asdf-vm.com
Licenses: MIT
Submitter: alecmev
Maintainer: alecmev
Last Packager: alecmev
Votes: 8
Popularity: 0.029251
First Submitted: 2019-05-27 20:24
Last Updated: 2020-10-12 17:53

Pinned Comments

alecmev commented on 2020-02-10 11:56

As mentioned in post_install, please, follow the official instructions to make asdf-vm work, replacing $HOME/.asdf with /opt/asdf-vm.

The completions are already installed, just make sure your shell is configured to use them. That is, don't source completions/asdf.bash or fpath=(completions $fpath).

Thanks for bringing this up, @odelucca. This is worth highlighting in a pinned comment, installation logs are too noisy.

Latest Comments

alecmev commented on 2020-10-12 18:12

@ruy16109 Thanks for notifying, I've updated the link, though it isn't 100% accurate, things will get better when this is merged.

Checking the built package I noticed that a lot of files are placed in /opt. What is the rationale for that?

There's no better way at the moment.

I don't think I can use asdf unless I source the file /opt/asdf-vm/asdf.fish

I've tested again, and it works fine without extra configuration. Just run fish, type asdf and press Tab.

ruy16109 commented on 2020-10-12 17:40

The link shared by @alecmev is now a dead link.

Checking the built package I noticed that a lot of files are placed in /opt. What is the rationale for that?

As for using asdf-vm under fish, since I am unable to refer to the website, I don't think I can use asdf unless I source the file /opt/asdf-vm/asdf.fish.

alecmev commented on 2020-10-06 10:11

@itsbenji That shouldn't be necessary, I remember testing Fish and the completions worked fine with a vanilla config. As per the docs, it's enough to put them in /usr/share/fish/vendor_completions.d, as already done in the PKGBUILD. Could there be an issue in your config?

itsbenji commented on 2020-10-06 08:08

To use this package on fish shell, you will need to add line below to ~/.config/fish/config.fish

source /opt/asdf-vm/asdf.fish

then source ~/.config/fish/config.fish

alecmev commented on 2020-09-15 09:39

@errcsool #704 addresses this, hopefully merged soon, but it's good to have bash-completion in optdepends regardless, thanks for the tip!

errcsool commented on 2020-09-13 18:44

@alecmev I think you should include in bash-completion as an optional dependency for completions. I did not understand this at first.

I was able to find out that there is a standard bash-completion directory by looking through your PKGBUILD. I then tried to source the completion files directly with a loop in my .bashrc file. This didn't work completely, as the bash-completion file defines the have() function, which is necessary for some aspects of the bash completion scripts.

Thanks!

alecmev commented on 2020-02-10 11:56

As mentioned in post_install, please, follow the official instructions to make asdf-vm work, replacing $HOME/.asdf with /opt/asdf-vm.

The completions are already installed, just make sure your shell is configured to use them. That is, don't source completions/asdf.bash or fpath=(completions $fpath).

Thanks for bringing this up, @odelucca. This is worth highlighting in a pinned comment, installation logs are too noisy.

odelucca commented on 2020-02-07 14:43

In order for this package to work, you must add the following on the ~/.bashrc or ~/.zshrc:

# asdf
source /opt/asdf-vm/asdf.sh
source /opt/asdf-vm/completions/asdf.bash

alecmev commented on 2019-10-01 10:00

@billkaguru Well, it's needed only by asdf-elixir, but added as an optdep, thanks!

billkaguru commented on 2019-10-01 00:02

package also needs unzip for normal operation