Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable install command on Windows #234

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amendlik
Copy link

  1. Compare the kernel name string in lower case
  2. Use the bsdtar command on Windows because it can extract ZIP files

1. Compare the kernel name string in lower case
2. Use the `bsdtar` command on Windows, because it can extract ZIP files
@@ -114,7 +116,7 @@ function nvm --description "Node version manager"
end

if ! command curl -q $silent --progress-bar --location $url |
command tar --extract --gzip --directory $nvm_data/$ver 2>/dev/null
command $tarcmd --extract --gzip --directory $nvm_data/$ver 2>/dev/null
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you happen to remember which version of Fish started supporting this way of running a command?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you asking about the command builtin or using variable expansion for the program name? I believe both have been present since the first release of Fish.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jorgebucaran Is there anything else needed before you can merge this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants