{"action":"created","issue":{"url":"https://api.github.com/repos/chriskempson/base16-shell/issues/24","labels_url":"https://api.github.com/repos/chriskempson/base16-shell/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/chriskempson/base16-shell/issues/24/comments","events_url":"https://api.github.com/repos/chriskempson/base16-shell/issues/24/events","html_url":"https://github.com/chriskempson/base16-shell/issues/24","id":52130814,"number":24,"title":"iTerm2: sourcing the script from within tmux rings the terminal bell","user":{"login":"bmedicke","id":173962,"avatar_url":"https://avatars.githubusercontent.com/u/173962?v=3","gravatar_id":"","url":"https://api.github.com/users/bmedicke","html_url":"https://github.com/bmedicke","followers_url":"https://api.github.com/users/bmedicke/followers","following_url":"https://api.github.com/users/bmedicke/following{/other_user}","gists_url":"https://api.github.com/users/bmedicke/gists{/gist_id}","starred_url":"https://api.github.com/users/bmedicke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmedicke/subscriptions","organizations_url":"https://api.github.com/users/bmedicke/orgs","repos_url":"https://api.github.com/users/bmedicke/repos","events_url":"https://api.github.com/users/bmedicke/events{/privacy}","received_events_url":"https://api.github.com/users/bmedicke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-16T16:02:55Z","updated_at":"2015-03-29T12:17:52Z","closed_at":null,"body":"When sourcing the script from within tmux the terminal bell is triggered. Probably by the `\\007` sequence (line 39+ for `base16-railscasts.dark.sh`) that is passed to printf in line 80+.\r\n\r\nThe comment above that code block links to [this post](http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) that provides an example for passing escape codes from within tmux to the terminal. `\\007` is part of the sequence that is passed through. \r\n\r\nDoes that sequence serve any purpose for base16-shell or is it there by mistake? I'm using tmux 2.0, zsh 5.0.7 and iTerm Build 2.9.20141210-nightly on Yosemite."},"comment":{"url":"https://api.github.com/repos/chriskempson/base16-shell/issues/comments/87404122","html_url":"https://github.com/chriskempson/base16-shell/issues/24#issuecomment-87404122","issue_url":"https://api.github.com/repos/chriskempson/base16-shell/issues/24","id":87404122,"user":{"login":"xcambar","id":657654,"avatar_url":"https://avatars.githubusercontent.com/u/657654?v=3","gravatar_id":"","url":"https://api.github.com/users/xcambar","html_url":"https://github.com/xcambar","followers_url":"https://api.github.com/users/xcambar/followers","following_url":"https://api.github.com/users/xcambar/following{/other_user}","gists_url":"https://api.github.com/users/xcambar/gists{/gist_id}","starred_url":"https://api.github.com/users/xcambar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcambar/subscriptions","organizations_url":"https://api.github.com/users/xcambar/orgs","repos_url":"https://api.github.com/users/xcambar/repos","events_url":"https://api.github.com/users/xcambar/events{/privacy}","received_events_url":"https://api.github.com/users/xcambar/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T12:17:52Z","updated_at":"2015-03-29T12:17:52Z","body":"I'm afraid this can't be avoided.\r\n\r\nThe good thing about Base16-shell is it (AFAIU) seems to make Base-16 for iTerm2 unnecessary by setting iTerm2 colors by using iTerm2's custom codes.\r\n\r\nBut this beep is really a bummer..."}}