summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xls2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls b/ls
index 8b3b6d5..234fae4 100755
--- a/ls
+++ b/ls
@@ -1,3 +1,3 @@
#!/bin/sh
-ls -1 *\.git | cut -d. -f1
+find $HOME -maxdepth 1 -type d -name '*\.git' -printf "%f\n"