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

minor: shorter oneliner #42

Merged
merged 2 commits into from
Jul 19, 2024
Merged

Conversation

thecmdrunner
Copy link
Contributor

@thecmdrunner thecmdrunner commented Jul 16, 2024

This the the current one-liner:

curl -fsSL https://github.com/ChrisTitusTech/linutil/releases/latest/download/start.sh | sh

But this one looks better :D

bash <(wget -qO- https://christitus.com/linux)

I know the URL does not point to the script yet, but would be awesome to see this one go live!

closes #22

@AlbydST
Copy link

AlbydST commented Jul 17, 2024

The one you proposed requires bash and wget, which may not be installed on all systems. How about this?

curl -fsSL https://christitus.com/lin | sh

Also, since WinUtil's link is https://christitus.com/win, maybe we should make this one https://christitus.com/lin.

@thecmdrunner
Copy link
Contributor Author

Makes sense. curl isn't installed on Ubuntu on default tho :)

Copy link
Owner

@ChrisTitusTech ChrisTitusTech left a comment

Choose a reason for hiding this comment

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

Ended up with curl as it is the de facto standard for transfers as MacOS / Windows has it loaded by default where wget gets left out. Most linux distros come with curl and NOT wget. So curl will win this battle.

@ChrisTitusTech ChrisTitusTech merged commit dbc1a42 into ChrisTitusTech:main Jul 19, 2024
1 check passed
@thecmdrunner thecmdrunner deleted the patch-1 branch July 19, 2024 12:45
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.

Prettier one-liner
3 participants