Browse files

bad --rcfile arg with arguments to git-sh

  • Loading branch information...
1 parent 84032e7 commit b056482a1dfb4832a38b5a7c0573b9a036322b8a @rtomayko committed Mar 27, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 git-sh.bash
View
5 git-sh.bash
@@ -29,10 +29,9 @@
}
# we expect to be sourced into an interactive shell. when executed as a
-# command, kick off a new shell and source us. this is a pretty cool hack;
-# make it better.
+# command, kick off a new shell and source us.
[ "$0" = 'bash' ] ||
-exec /usr/bin/env bash --rcfile "$@" "$0"
+exec /usr/bin/env bash --rcfile "$0" "$@"
# source the user's .bashrc file
[ -r ~/.bashrc ] && {

0 comments on commit b056482

Please sign in to comment.