summaryrefslogtreecommitdiff
path: root/doc/bugs/how_to_get_git-annex_shell_on_MAC__63__/comment_1_780fbb7b8dda331503064dfa6bcabaa3._comment
blob: 5d7dd94934b14f9ccafde9797bc34568d324922a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[[!comment format=mdwn
 username="http://joeyh.name/"
 ip="108.236.230.124"
 subject="comment 1"
 date="2014-05-16T17:17:54Z"
 content="""
Here's how I do it:

<pre>
$ oberon:tmp joeyh$ hdiutil attach git-annex.dmg
$ oberon:tmp joeyh$  /Volumes/git-annex/git-annex.app/Contents/MacOS/git-annex version
git-annex version: 5.20140516-g693a6a4
oberon:tmp joeyh$ PATH=$PATH:/Volumes/git-annex/git-annex.app/Contents/MacOS/
oberon:tmp joeyh$ git-annex version
git-annex version: 5.20140516-g693a6a4
</pre>

So, adding to PATH works fine. Perhaps you added the wrong directory to your PATH.

Note that .bash_profile is only used for bash login shells. It may not be run when you open a terminal, or when git-annex ssh's in from elsewhere to run git-annex-shell (which you seem to be asking about, but only in the title of this page?).

In particular, bash does not provide any way to set the PATH which works when you run \"ssh yourcomputer git-annex-shell\". So you will need to instead move the git-annex files into a directory that is in the default PATH.
"""]]