Comments (2)
Good point. Thanks for adding the issue. Regarding rvm
, it's already there in ruby_dev
profile but it's not in the frontend_dev
group.
That said, I wanted to add nvm
as well as gvm
(groovy env manager for groovy_dev
profile) earlier but then I gave up because of a small problem. These commands are actually shell functions, so one way to check them would be type nvm > /dev/null 2>&1
. Other ways include doing which
or declare
etc. But these doesn't work for dq because these functions are not visible in the new shell in which the dq script is executing by curl something... | sh
. So far I could not find a reliable way to test it. Contributions/Suggestions welcome. Surprisingly rvm
also being a function still works in the new shell.
One option is to source dq instead of running it as shell script. but this does not appear to be very clean.
Another thing is version managers, though are good to have, are never a must have or never a minimum requirement to run an application. The idea is, mostly applications would depend on a library/binary/command being installed but not its version manager. So I kind put the whole idea of checking *vm on hold, at least until the first problem is solved.
That said, I am keeping the issue open and hope some day someone comes with an idea of how to fix it.
from has.
You should be able to get declare
if you just do curl something... | bash
. It looks like the default sh
in your environment isn't bash
. Although, that does tie you to bash
...
from has.
Related Issues (20)
- inception: "has not understood" and "✔ has 22" HOT 1
- Exit code can overflow, falsely indicating success HOT 2
- More recipes, please! HOT 2
- Hide versions info
- Distribution mechanisms (package managers) HOT 1
- HAS_ALLOW_UNSAFE only checks lowercase HOT 2
- Add command options for help and version.
- add OpenSSH and OpenSSL
- add GnuPG/gpg
- support quiet mode HOT 2
- test container location HOT 6
- `make uninstall` does not respect `DESTDIR`/`PREFIX`
- You can install has with Awesome package manager
- [feature] add support for detecting the stdout
- `has` can't identity `nvim` (Neovim) HOT 1
- [feature] Add shell completions
- egrep: warning: egrep is obsolescent; using grep -E
- 0.1.dev1+ge42c9a0.d20221212 will be recognized as 0.1. HOT 1
- improve documentation and add code comments
- Fix the CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from has.