aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/ui/comment_2_b493ee97eb2378e72c12f3d137109580._comment
blob: ee79958832592d492828e385626cb694bb8ad475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!comment format=mdwn
 username="http://mylesenglish.myopenid.com/"
 ip="217.39.94.195"
 subject="comment 2"
 date="2013-09-16T19:21:31Z"
 content="""
This shell function behaves more like ls and shows the files that are present:

    ga-ls () {
      CWD=`pwd`
      cd ${1:-.} && git annex find | cut -d / -f 1 | uniq
      cd ${CWD}
    }

"""]]