diff --git a/doc/bugs/ssh_remote_sync_only_metadata___40__git-annex-shell_not_found__41__/comment_3_9d8f9346b8c931815fa4967835b67560._comment b/doc/bugs/ssh_remote_sync_only_metadata___40__git-annex-shell_not_found__41__/comment_3_9d8f9346b8c931815fa4967835b67560._comment new file mode 100644 index 0000000000..03843c2a2f --- /dev/null +++ b/doc/bugs/ssh_remote_sync_only_metadata___40__git-annex-shell_not_found__41__/comment_3_9d8f9346b8c931815fa4967835b67560._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawmTIL7ubr5opWM69Q5VtCxuxC2H0SSnzic" + nickname="Petr" + subject="SOLVED" + date="2014-04-29T21:42:39Z" + content=""" +You were right. +When executed command over SSH it does not perform login (so .**rc files are not necessarily loaded). + +Zsh: +.zprofile or rather .zshenv (is loaded, use these to set PATH) +Note: .profile is not loaded at all (it's Bash stuff) + +Bash: +.bashrc is said to be loaded but not .profile + +See: +http://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/ +http://superuser.com/questions/187639/zsh-not-hitting-profile +https://wiki.archlinux.org/index.php/zsh +"""]]