Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix shift for zero args

  • Loading branch information...
commit c7843d280522f254c45e5e622f6ef96ef6e98c7f 1 parent 95dfc70
@ascarter authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 goenv
View
4 goenv
@@ -178,10 +178,10 @@ _goenv_exec() {
goenv() {
cmd=$1
- shift
-
+
case "$cmd" in
init | set | add | rm)
+ shift
while (($#)); do
_goenv_exec $cmd $1
shift
Please sign in to comment.
Something went wrong with that request. Please try again.