summaryrefslogtreecommitdiff
path: root/doc/bugs/ssh_remote_sync_only_metadata___40__git-annex-shell_not_found__41__/comment_3_9d8f9346b8c931815fa4967835b67560._comment
blob: 03843c2a2fb5e1e65f348a9a8d2f663d270c9b7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
"""]]