Skip to content

minor: shorter oneliner#42

Merged
ChrisTitusTech merged 2 commits intoChrisTitusTech:mainfrom
thecmdrunner:patch-1
Jul 19, 2024
Merged

minor: shorter oneliner#42
ChrisTitusTech merged 2 commits intoChrisTitusTech:mainfrom
thecmdrunner:patch-1

Conversation

@thecmdrunner
Copy link
Copy Markdown
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

@ghost
Copy link
Copy Markdown

ghost 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
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
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
@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

2 participants