<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ruslan&#39;s Tech Blog</title>
    <link>https://blog.bekenev.net/tags/terminal-tmux.html</link>
    <description>Software development related stuff</description>
    <language>en-us</language>
    <lastBuildDate>Mon, 05 Feb 2018 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.bekenev.net/tags/terminal-tmux/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tmux, default shell</title>
      <link>https://blog.bekenev.net/2018/02/05/tmux-default-shell.html</link>
      <pubDate>Mon, 05 Feb 2018 00:00:00 +0000</pubDate>
      <guid>https://blog.bekenev.net/2018/02/05/tmux-default-shell.html</guid>
      <description>&lt;p&gt;Hey,&lt;/p&gt;&#xA;&lt;p&gt;recently I&amp;rsquo;ve switched to Windows and trying to adapt WSL (linux subsystem) to make it play together with my habits.&lt;/p&gt;&#xA;&lt;p&gt;This time the issue was Tmux starting bash when I need ZSH. No matter what shell was set by &lt;code&gt;chsh -s&lt;/code&gt; command Tmux was don&amp;rsquo;t care.&lt;/p&gt;&#xA;&lt;p&gt;The thing I found on stackoverflow is setting &lt;code&gt;default-shell&lt;/code&gt; option of Tmux to &lt;code&gt;/bin/zsh&lt;/code&gt; (in my case).&lt;/p&gt;&#xA;&lt;p&gt;Here is what you need to add to your &lt;code&gt;~/.tmux.conf&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;set-option -g default-shell /bin/zsh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br/&gt;&#xA;&lt;p&gt;Don&amp;rsquo;t forget to restart your Tmux or &lt;code&gt;:source-file&lt;/code&gt; the new configuration.&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>
