Skip to content
Snippets Groups Projects
Commit f6a9eedc authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Add git ls.

parent 49f5a56a
No related branches found
No related tags found
No related merge requests found
git-ls 0 → 100755
#!/bin/bash
Cyan='\e[0;36m'
Normal="\e[m"
for f in `ls`; do
if [ -f "$f/.git" ] || [ -d "$f/.git" ]; then
echo -e "$Cyan$f$Normal"
else
ls --color -d $f
fi
done | column
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment