Comments (3)
...its harmless and things still work as advertised after. It's because you're calling shift
when there are no parameters to shift out:
local root=$1 && shift
local command=$@
Using 2>/dev/null
works just fine.
- local root=$1 && shift
+ local root=$1 && shift 2>/dev/null
local command=$@
from chgems.
Hooray! Thanks for the wonderful work on chgems.
from chgems.
Released 0.2.3 which should fix this. It also improved the clarity of the branching logic.
from chgems.
Related Issues (15)
- No profile.d in Snow Leopard HOT 3
- Leave my PS1 alone! HOT 4
- When using auto-switch sub-shell uses system ruby instead of .ruby-version
- Errors encountered running in Ubuntu HOT 2
- PGP asc URL 404 HOT 1
- presence of a .ruby-version file and chruby autoswitching is resetting and overriding chgems HOT 4
- The `-f` switch on readlink is missing on Mac OS X HOT 2
- chgems is not playing nicely with zsh and chruby HOT 8
- Running 'chgems' resets the ruby version set by 'chruby' HOT 17
- chruby is overriding the environment variables after chgems sets them HOT 14
- chgems for "global" gems? HOT 2
- Add support for .ruby-version HOT 3
- Not Setting Environment HOT 6
- Archive the repository
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 chgems.