<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Andreas Agerblad on Medium]]></title>
        <description><![CDATA[Stories by Andreas Agerblad on Medium]]></description>
        <link>https://medium.com/@Aagerblad?source=rss-b309c5bb984e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VoDroRM9nM98rqn5To_KwA.jpeg</url>
            <title>Stories by Andreas Agerblad on Medium</title>
            <link>https://medium.com/@Aagerblad?source=rss-b309c5bb984e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 21:15:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Aagerblad/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to setup a nice looking terminal with WSL in Windows 10 Creators Update]]></title>
            <link>https://medium.com/@Aagerblad/how-to-setup-a-nice-looking-terminal-with-wsl-in-windows-10-creators-update-2b468ed7c326?source=rss-b309c5bb984e------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b468ed7c326</guid>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[bashforwindows]]></category>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[zsh]]></category>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[Andreas Agerblad]]></dc:creator>
            <pubDate>Sun, 16 Apr 2017 11:59:02 GMT</pubDate>
            <atom:updated>2017-04-16T11:59:02.584Z</atom:updated>
            <content:encoded><![CDATA[<p>Tutorial on how to get a nice looking terminal like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*Xje2bsobssHSJa3H-wOD-w.png" /><figcaption>Beautiful terminal</figcaption></figure><p>instead of just bash in the usual cmd.exe window like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*F87f6Q-Z_Wj8lBsABKPeCA.png" /><figcaption>Ugly terminal</figcaption></figure><p>Start by making sure that you have installed WSL according to these instructions: <a href="https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/">https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/</a></p><p>Now, you should be able to launch bash by starting cmd.exe and typing</p><pre>bash</pre><p>From here you can do all the normal terminal stuff like ls, but as you see, the colors aren’t really that exciting. Actually, they are quite hard to see.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*F87f6Q-Z_Wj8lBsABKPeCA.png" /><figcaption>Very straining on the eyes</figcaption></figure><p>To fix this, download this software: <a href="https://github.com/goreliu/wsl-terminal">https://github.com/goreliu/wsl-terminal</a></p><p>This terminal emulator fixes some great things about the default Windows terminal, including adding support for color themes. Open the terminal, right click on top and go to Options, Looks and finally change the Theme. Here you can choose whichever one you feel like, but base16-solarized-dark.minttyrc is the one I prefer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*DAuPVMEwjOKrnhD-uNLeyQ.png" /><figcaption>Ok, not very readable, but at least prettier</figcaption></figure><p>Now, lets get on to improve the shell. This great tutorial explains how to install Zsh: <a href="https://www.howtogeek.com/258518/how-to-use-zsh-or-another-shell-in-windows-10/">https://www.howtogeek.com/258518/how-to-use-zsh-or-another-shell-in-windows-10/</a></p><p>Let’s take it one step further and install Oh-my-zsh to improve shell functionality even further! Use this great guide for that: <a href="https://www.smashingmagazine.com/2015/07/become-command-line-power-user-oh-my-zsh-z/#use-zsh-and-oh-my-zsh">https://www.smashingmagazine.com/2015/07/become-command-line-power-user-oh-my-zsh-z/#use-zsh-and-oh-my-zsh</a></p><p>Now, I prefer to use the Agnoster theme, but as you see, without the correct fonts this looks pretty bad.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*F_e51nwbYnF1v_1pR7pgQA.png" /><figcaption>Broken font</figcaption></figure><p>Easy peasy, just hop over to <a href="https://github.com/powerline/fonts/tree/master/DejaVuSansMono">https://github.com/powerline/fonts</a> and download whatever font you want. I use the DejaVuSansMono for Powerline font, which you can get here: h<a href="https://github.com/powerline/fonts/tree/master/DejaVuSansMono">ttps://github.com/powerline/fonts/tree/master/DejaVuSansMono</a></p><p>Just download the <a href="https://github.com/powerline/fonts/blob/master/DejaVuSansMono/DejaVu%20Sans%20Mono%20for%20Powerline.ttf">ttf</a> file that you want and double click to install. Then change the font in wsl-terminal to whichever one you chose. The terminal should now look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*nQF2vf2K9iPpBhuzBWxS1w.png" /><figcaption>The prompt looks so good! Right?</figcaption></figure><p>Ok, prompt is fine, but we need to do something about the colors in ls. So let’s hop over to <a href="https://github.com/seebi/dircolors-solarized">https://github.com/seebi/dircolors-solarized</a> and download or clone the repository.</p><p>Now, to your .zshrc file (which you changed when chose what theme to use), simply add this line:</p><pre>eval `dircolors ~/Git/dircolors-solarized/dircolors.256dark`</pre><p>The path should of course correspond to the actual location where you downloaded the repository to. Now when you start your terminal and run ls, it should look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*Xje2bsobssHSJa3H-wOD-w.png" /><figcaption>Sleak terminal</figcaption></figure><p>One last thing, because WSL makes all windows files executable and because ls colors executable files in a specific color regardless of filetype, the coloring is not perfect when looking at windows files. I have not figured out a way to solve this that doesn’t involve recompiling ls. So my solution was simply to change the row in dircolors.256dark that reads</p><pre>EXEC 00;38;5;64</pre><p>into</p><pre>EXEC 00;38;5;244</pre><p>It’s not perfect, but it makes the output slightly nicer to look at.</p><p>If you have any questions, thoughts or suggestions on how to make this better, please leave a comment!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b468ed7c326" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>