summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit4
1 files changed, 1 insertions, 3 deletions
diff --git a/git b/git
index 0d8b382..476aeec 100755
--- a/git
+++ b/git
@@ -17,6 +17,4 @@ else
echo " git commands are:"
fi
-alternatives=$(cd $path &&
- ls git-*-script | sed -e 's/git-//' -e 's/-script//')
-echo $alternatives | fmt | sed 's/^/ /'
+ls $path | sed -ne 's/^git-\(.*\)-script/ \1/p' | fmt