{"action":"opened","issue":{"url":"https://api.github.com/repos/tmux/tmux/issues/265","labels_url":"https://api.github.com/repos/tmux/tmux/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/tmux/tmux/issues/265/comments","events_url":"https://api.github.com/repos/tmux/tmux/issues/265/events","html_url":"https://github.com/tmux/tmux/issues/265","id":126480355,"number":265,"title":".tmux.conf file not sourced implicitly nor explicitly from a launch script","user":{"login":"jecompton","id":7332776,"avatar_url":"https://avatars.githubusercontent.com/u/7332776?v=3","gravatar_id":"","url":"https://api.github.com/users/jecompton","html_url":"https://github.com/jecompton","followers_url":"https://api.github.com/users/jecompton/followers","following_url":"https://api.github.com/users/jecompton/following{/other_user}","gists_url":"https://api.github.com/users/jecompton/gists{/gist_id}","starred_url":"https://api.github.com/users/jecompton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jecompton/subscriptions","organizations_url":"https://api.github.com/users/jecompton/orgs","repos_url":"https://api.github.com/users/jecompton/repos","events_url":"https://api.github.com/users/jecompton/events{/privacy}","received_events_url":"https://api.github.com/users/jecompton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-13T18:17:15Z","updated_at":"2016-01-13T18:17:15Z","closed_at":null,"body":"I wrote a simple shell script to launch a dev environment. It is something like\r\n```bash\r\ntmux new-session -s rubydev -n dev -d\r\ntmux source-file ~/.tmux.conf\r\ntmux attach -t rubydev\r\n```\r\nHowever, no settings are begin pulled from my .tmux.conf. If I launch tmux from the command line normally, .tmux.conf loads as expected.\r\n\r\nI compared both runs using strace, and I noticed that .tmux.conf isn't being sourced whether or not I include the ```tmux source-file ~/.tmux.conf``` line.\r\n\r\nI'm running Ubuntu 15.10. I tried this with both the Ubuntu tmux for that version (2.0) as well as compiled from source from git (2.2).\r\n\r\nPerhaps my understanding of ```source-file``` is incorrect, but I wanted to mention this in case it's a bug."}}