Coder Social home page Coder Social logo

Comments (7)

alexellis avatar alexellis commented on May 22, 2024

Hi @PierreRustOrange would it be useful to you if we have an env-var to suppress the alias?

export CREATE_ARKADE_ALIAS=0

from arkade.

PierreRustOrange avatar PierreRustOrange commented on May 22, 2024

Thanks for your answer.

I'd rather have an env-var to create the alias than to suppress it, it's actually very easy to fix the problem (only need to rm the symlink), the only difficult part is to identify it. It took me some time to understand why I could not open any tar.gz anymore...
Either way, as long as it is mentioned in the doc I'd say it's fine !

from arkade.

alexellis avatar alexellis commented on May 22, 2024

What if we checked for ark existing in PATH before creating it? Would that resolve this issue?

from arkade.

PierreRustOrange avatar PierreRustOrange commented on May 22, 2024

That's a great idea, that would completely resolve the issue and could probably be implemented by simply checking the return form whereis ark before creating the symlink.

from arkade.

alexellis avatar alexellis commented on May 22, 2024

I know you didn't come here necessary to write a PR, but would you be up for giving it a shot? we use get.sh in this repo.

from arkade.

PierreRustOrange avatar PierreRustOrange commented on May 22, 2024

You're right, I should have done that before.
The PR is done, my bash is probably a bit rusty, there might be a more efficient way to implement that check but it seems to do the trick.

from arkade.

Waterdrips avatar Waterdrips commented on May 22, 2024

/close
This was implemented in #89
thanks

from arkade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.