shell: detect tmux and send different escape codes
shell: detect tmux and send different escape codes

This allows to change the scheme from within tmux.

From the tmux CHANGES (1.5):

  * Support passing through escape sequences to the underlying terminal by
    using DCS with a "tmux;" prefix.

Source:
http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324

Ref: https://github.com/morhetz/gruvbox/issues/4#issuecomment-30083929

forivall/base16-builder,VoltiSubito/base16-builder,chriskempson/base16-builder,Maximus5/base16-builder,Maximus5/base16-builder,jilen/base16-builder,keith/color-builder,tadeboro/base16-builder,tadeboro/base16-builder,fatpixel/base16,hakatashi/base16-builder,enosys/base16-builder,VoltiSubito/base16-builder,gabrielflorit/base16-builder,ohspite/base16-builder,rail44/base16-builder,ohnemax/base16-builder,jaredru/base16-builder,pickfire/base16-builder,jilen/base16-builder,blockloop/base16-builder,elais/base16-builder,blockloop/base16-builder,jaredru/base16-builder,jaredru/base16-builder,andybarilla/base16-builder,idleberg/base16-builder,hakatashi/base16-builder,forivall/base16-builder,sbomer/base16-builder,gabrielflorit/base16-builder,jilen/base16-builder,tadeboro/base16-builder,pickfire/base16-builder,gabrielflorit/base16-builder,keith/color-builder,ohnemax/base16-builder,blockloop/base16-builder,idleberg/base16-builder,rail44/base16-builder,enosys/base16-builder,pickfire/base16-builder,ohspite/base16-builder,rail44/base16-builder,elais/base16-builder,diegomvh/base16-builder,fatpixel/base16,iakio/base16-builder,fatpixel/base16,idleberg/base16-builder,diegomvh/base16-builder,sbomer/base16-builder,elais/base16-builder,Maximus5/base16-builder,ohspite/base16-builder,andybarilla/base16-builder,hakatashi/base16-builder,ohnemax/base16-builder,diegomvh/base16-builder,iakio/base16-builder,enosys/base16-builder,iakio/base16-builder,sbomer/base16-builder,andybarilla/base16-builder,manpages/base16-builder,VoltiSubito/base16-builder,chriskempson/base16-builder,chriskempson/base16-builder,forivall/base16-builder