Permalink
Browse files

助けてコマンドの処理がちょっとおかしかったのを手直し

  • Loading branch information...
1 parent 53cd7e9 commit c29d61f42984b6ec357e7f41ab9488175fd70789 @rosylilly rosylilly committed May 5, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 git-助けて
View
@@ -1,8 +1,9 @@
#!/bin/sh
CURDIR=`dirname $0`
-HELPERS=`ls $CURDIR/git-* | sed -e "s/^\.\/git-//" | grep -e "^[^助]"`
+HELPERS=`ls $CURDIR/git-*`
for HELPER in $HELPERS
do
- echo git $HELPER
+ HELPER=`basename $HELPER | sed -e "s/^git-//"`
+ [ $HELPER != "助けて" ] && echo git $HELPER
done

0 comments on commit c29d61f

Please sign in to comment.