diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2014-05-16 17:17:54 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-05-16 17:17:54 +0000 |
commit | 7e2afa3632ce80e56f92047670eb91d04952b57b (patch) | |
tree | 978a1ea86258733627546e946f03c5692366bae8 | |
parent | 02e3fd2907171cb2ffa66c11ed5f75e07e277b09 (diff) |
Added a comment
-rw-r--r-- | doc/bugs/how_to_get_git-annex_shell_on_MAC__63__/comment_1_780fbb7b8dda331503064dfa6bcabaa3._comment | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/bugs/how_to_get_git-annex_shell_on_MAC__63__/comment_1_780fbb7b8dda331503064dfa6bcabaa3._comment b/doc/bugs/how_to_get_git-annex_shell_on_MAC__63__/comment_1_780fbb7b8dda331503064dfa6bcabaa3._comment new file mode 100644 index 000000000..5d7dd9493 --- /dev/null +++ b/doc/bugs/how_to_get_git-annex_shell_on_MAC__63__/comment_1_780fbb7b8dda331503064dfa6bcabaa3._comment @@ -0,0 +1,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. +"""]] |