<?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[Almoullim’s Blog - Medium]]></title>
        <description><![CDATA[Just another blog! - Medium]]></description>
        <link>https://medium.com/almoullim?source=rss----4c13db1bad55---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Almoullim’s Blog - Medium</title>
            <link>https://medium.com/almoullim?source=rss----4c13db1bad55---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:59:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/almoullim" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Bash to Zsh to Fish!]]></title>
            <link>https://medium.com/almoullim/from-bash-to-zsh-to-fish-e432f1e1b9f8?source=rss----4c13db1bad55---4</link>
            <guid isPermaLink="false">https://medium.com/p/e432f1e1b9f8</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[zsh]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[shellfish]]></category>
            <dc:creator><![CDATA[Ali Almoullim]]></dc:creator>
            <pubDate>Thu, 12 Jan 2017 15:29:45 GMT</pubDate>
            <atom:updated>2020-02-11T07:52:17.762Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*T8p5_NvEY4p6lZU-2oxb1g.png" /></figure><p>First of all. This is related to me, not anyone else. You might not like it, you could even hate it. I could also have some wrong information (feel free to correct me if I do). If that is fine with you, continue reading.</p><p>If you don’t even know what a shell is. Simply put, the shell is a program that takes your commands from the keyboard and gives them to the operating system to perform.</p><p>When you open your command line (terminal) you run a shell, a program. By default, you probably have Bash (<strong>B</strong>ourne <strong>A</strong>gain<strong> S</strong>hell).</p><p>Then you can install another shell, I installed one called Zsh. Because I’m lazy I’ll copy Wikipedia (feel free to skip it, it&#39;s boring);</p><p>Zsh is an extended Bourne shell with a large number of improvements, including some features of bash, ksh, and tcsh.</p><p>Features include:</p><ul><li>Programmable command-line completion that can help the user type both options and arguments for most used commands, with out-of-the-box support for several hundred commands</li><li>Sharing of command history among all running shells</li><li>Extended file globbing allows file specification without needing to run an external program such as find</li><li>Improved variable/array handling</li><li>Editing of multi-line commands in a single buffer</li><li>Spelling correction</li><li>Various compatibility modes, e.g. zsh can pretend to be a Bourne shell when run as /bin/sh</li><li>Theme-able prompts, including the ability to put prompt information on the right side of the screen and have it auto-hide when typing a long command</li><li>Loadable modules, providing among other things: full TCP and Unix domain socket controls, an FTP client, and extended math functions.</li><li>The built-in where command. Works like the which command but shows <strong>all</strong> locations of the target command in the directories specified in $PATH rather than only the one that will be used.</li><li>Named directories. This allows the user to set up shortcuts such as ~mydir, which then behave the way ~ and ~user do.</li></ul><p><em>Stop skipping here!</em></p><p>I used It for a long time but lately, I came across Fish! Another shell, and has a weird name I know. It stands for <strong>F</strong>riendly<strong> I</strong>nteractive <strong>SH</strong>ell, and boy I fell in love ❤!</p><p>I’ll be robotic here. The <strong>Fish shell </strong>attempts to be more interactive and user-friendly than former shells. The goal is to give the user a rich set of powerful features.</p><p>That was longer than I expected, right. So, Features! (Read the headlines for saving some time)</p><h3>Autocomplete and Autosuggestion</h3><p>One of the things I liked about Fish, or the best things I liked about it is the autocomplete and suggestions are inline and work for almost anything and its based on history and whatnot. so for example, it works with switches like ls --he and it gives you ls --he<strong>lp</strong>. It is also great that all of this happens in real-time. So you’re typing a command, the command color is red, the suggested completion is in muted-grey, and once you type the correct command then it will turn into white, or blue depends on you.</p><p><em>Interactivity, huh!</em></p><p>it really saves time and it starts as soon as you type the first letter. Left arrow to auto-suggestions and tab for auto-complete. worth mentioning, Alt+Left arrow to just take the first part of the suggestion and you can hit it until you get there ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*k4bJDzS4EJ45Vf2drArlsA.png" /><figcaption>The grey is the suggestion, `s` is not recognized as a command so its red.</figcaption></figure><p>Pressing the Tab key will list all known parameters, and what they do. This is done by fish going through the “Man Pages” of that particular program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*W8Yf15h-I3djOzWbrOam7w.png" /></figure><h3>Syntax Highlighting and Beautiful Colors</h3><p>I know that this can be done in other shells, but it requires you to do so. Fish has this by default.</p><h3>Web Interface</h3><p>Another noticeable feature of fish is that it can be configured through a web interface, running on a local webserver. This is as far as I know the only shell that has this. It really saves time ;o</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mk4fLMwhYSXdqreDj8Y8FA.png" /></figure><h3>Flow Control</h3><p>Fish shell replaces the logical operators used by bash like “||”, “&amp;&amp;”, and “!”, and replaces them with “and”, “or”, and “not”. This makes it <em>way</em> more readable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*N3MBL6KQOH2KY6OFSywGrA.png" /></figure><h3><strong>Error Messages</strong></h3><p>Not much, but, it worth mentioning. Error messages are more obvious and easy to understand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*9ObfmaC3BGeSgu3QAJ_xXA.png" /></figure><h3>Enhanced Scripting</h3><p>Scripting with Fish is pretty great compared to bash. Its syntax is simple, clean, and consistent. Pretty much look like python.</p><h4>A peek into the difference;</h4><pre><em># bash</em><br>export PATH<strong>=</strong>~/bin:<strong>${</strong>PATH<strong>}</strong></pre><pre><em># fish</em><br>set -gx PATH ~/bin $PATH</pre><h3><strong>Installing</strong></h3><ul><li>Arch: pacman install fish</li><li>macOS: brew install fish</li><li>Ubuntu: <em>for some reason, you always have to add a damn repository before you could install anything!</em></li></ul><pre>sudo apt-add-repository ppa:fish-shell/release-2<br>sudo apt-get update<br>sudo apt-get install fish</pre><h4>To make it fish your default shell:</h4><p>which fish to check where fish is (sometimes its different)</p><pre><strong>[Almoullim] &gt;</strong> which <br>/usr/bin/fish<br><strong>[Almoullim] &gt;</strong> chsh -s /usr/bin/fish</pre><h3>Basic configuration</h3><p>Create the Fish config directory:</p><pre>mkdir -p ~/.config/fish</pre><p>Create the initial config file:</p><pre>vim ~/.config/fish/config.fish</pre><p>Initial config file contents, which adds /usr/local/bin to the PATHenvironment variable:</p><pre>set -g -x PATH /usr/local/bin $PATH</pre><p>Open a new terminal session, it should now load with the Fish shell by default. You can enter help and hit enter, this opens the user documentation in your default browser.</p><p>To open the web configuration you can issue this command:</p><pre>fish_config</pre><p>… and then visit <a href="http://localhost:8000/">http://localhost:8000/</a> in your browser.</p><p>Fish can parse your installed man pages and automatically generate completion files for your command-line tools. You should periodically run the following command to update those completions, which are stored in ~/.config/fish/completions by default:</p><pre>fish_update_completions</pre><h3>Now what?</h3><p>These will help you set up themes and plugins.</p><h4>Install omf (Oh-My-Fish): <a href="https://github.com/oh-my-fish/oh-my-fish">github/oh-my-fish</a></h4><p><em>Oh My Fish provides core infrastructure to allow you to install packages that extend or modify the look of your shell. It’s fast, extensible and easy to use.</em></p><pre>curl -L http://get.oh-my.fish | fish</pre><h4>Install Tacklebox: <a href="https://github.com/justinmayer/tacklebox">github.com/tacklebox</a></h4><p><em>Tacklebox is a framework for the Fish shell that makes it easy to organize and share collections of useful shell functions, tools, and themes.</em></p><pre>curl -O <a href="https://raw.githubusercontent.com/justinmayer/tacklebox/master/tools/install.fish">https://raw.githubusercontent.com/justinmayer/tacklebox/master/tools/install.fish</a></pre><pre>cat install.fish | fish; rm install.fish</pre><h3>THE END!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e432f1e1b9f8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/almoullim/from-bash-to-zsh-to-fish-e432f1e1b9f8">From Bash to Zsh to Fish!</a> was originally published in <a href="https://medium.com/almoullim">Almoullim’s Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install Bash on Windows 10!]]></title>
            <link>https://medium.com/almoullim/how-to-install-bash-on-windows-10-8bec28f31305?source=rss----4c13db1bad55---4</link>
            <guid isPermaLink="false">https://medium.com/p/8bec28f31305</guid>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[bash-on-windows]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Ali Almoullim]]></dc:creator>
            <pubDate>Wed, 23 Nov 2016 20:08:15 GMT</pubDate>
            <atom:updated>2016-11-23T20:23:45.985Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*MIZfq0RMfTmxTtAXi2p35Q.png" /></figure><p>First of all, this feature is still in BETA. Some stuff might not work correctly and some will not work at all. Its Basically is running Ubuntu user-mode binaries provided by Canonical in Windows.</p><blockquote>This is provided as beta software. While many of the coreutil commands provided by Ubuntu will work, there are some that will not.</blockquote><h3>Prerequisites</h3><ol><li>Microsoft Windows obviously :D</li><li>Your PC must be running a 64-bit version of <strong>Windows 10 Anniversary Update build 14393 or later</strong></li></ol><h3>Installation</h3><ol><li>Turn-on Developer Mode:<br> ... <em>Open Settings -&gt; Update and Security -&gt; For developers<br> ... Select the Developer Mode radio button</em></li><li>Enable the “Windows Subsystem for Linux (beta)” feature:<br><em> … From Start, search for “Turn Windows features on or off” (type ‘turn’)<br> … Select </em><strong><em>Windows Subsystem for Linux (beta)</em></strong></li></ol><p>After you enable the “Windows Subsystem for Linux (beta)” feature you will be prompted to restart you PC. <strong>PLEASE DO NOT IGNORE THIS </strong>and do restart your PC.</p><h3>Run Bash on Windows</h3><ol><li>Open a command prompt (CMD). <em>Type “cmd” in start.</em></li><li>Type bash and hit enter.</li></ol><p>You will be prompt to to accept the license. just type y and hit enter. After you have accepted the License, the Ubuntu user-mode image will be downloaded and a “Bash on Ubuntu on Windows” shortcut will be added to your start menu.</p><p>To launch Bash on Windows, either run bash at a cmd/PowerShell command-prompt, or use the start menu shortcut.</p><p>Congratulation, you are done. Enjoy, and in case you run into an issue please refer to the feedback section below.</p><h3>Feedback</h3><p>… <a href="https://github.com/Microsoft/BashOnWindows/issues">GitHub issue tracker</a><br> … <a href="https://blogs.msdn.microsoft.com/wsl/">WSL Blog</a><br> … <a href="https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/category/161892-bash">Command-line UserVoice portal</a><br> … <a href="https://blogs.msdn.microsoft.com/commandline/">Command-line team blog</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bec28f31305" width="1" height="1" alt=""><hr><p><a href="https://medium.com/almoullim/how-to-install-bash-on-windows-10-8bec28f31305">How to install Bash on Windows 10!</a> was originally published in <a href="https://medium.com/almoullim">Almoullim’s Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Affinity Designer: Photoshop competitor]]></title>
            <link>https://medium.com/almoullim/affinity-designer-photoshop-competitor-fff31b9a9dfd?source=rss----4c13db1bad55---4</link>
            <guid isPermaLink="false">https://medium.com/p/fff31b9a9dfd</guid>
            <category><![CDATA[sketch]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[software-design]]></category>
            <category><![CDATA[affinity-designer]]></category>
            <category><![CDATA[photoshop]]></category>
            <dc:creator><![CDATA[Ali Almoullim]]></dc:creator>
            <pubDate>Tue, 15 Nov 2016 09:32:54 GMT</pubDate>
            <atom:updated>2017-01-18T20:28:29.352Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WmjJkr1esQKLj7NJwD7Rdw.jpeg" /></figure><p>Affinity Designer which is a vector graphic designer with an Apple Design Award in 2015. A great software indeed for Graphic designers or Web designers, great for UX, UI, and mockups.</p><p>The software is almost exactly like Photoshop and maybe even better. It has tons of features just like Adobe Photoshop. It can import Photoshop files seamlessly (PSD, EPS, AI and more).</p><h3>Highlighted features:</h3><p>Fast and highly performance software, pan and zoom at 60fps. Apply effects and filters is real time. Able to zoom up to 1,000,000% and more. Works with many color spaces such RGB, CMYK, LAB, Grayscale. End-to-end CMYK workflow with ICC color management, and 16-bit per channel editing.</p><p>Pixel perfect control, Non-destructive effects and adjustments using layers. Flexible workspaces. Rich-History, instantly undo/redo over 8,000 History steps. Saved-History, even after you close the file, you can undo changes made previously. An Auto-Save feature which protects against unexpected or accidental shutdowns.</p><p>Can be Customizable. You can create your own keyboard shortcuts, own toolbar layouts and tools. Work with multiple designs and multiple displays. Task-focused design spaces create a clean, efficient environment. Switch between vector, pixel, and export modes. One Affinity file format is compatible with all Affinity suite apps.</p><p>Beautiful User-Interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EF_4yGnJQ5AhPJUd0e3CSQ.jpeg" /><figcaption>Affinity Designer in Action</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*2BTDDY_WKcFd0zUIgNHQqQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*wRKDeLzLsbIAUnXOVKJ8Pg.png" /><figcaption>Comparison between Adobe Photoshop Layer Style and Affinity Designer Layer Effects</figcaption></figure><p>Best of all, there is No Subscription, one time payments and you own it. With free updates. Costs 49.99$. (<a href="https://affinity.serif.com/en-us/designer/full-feature-list/"><em>full features list</em></a><em>)</em></p><p>C̶u̶r̶r̶e̶n̶t̶l̶y̶ ̶o̶n̶l̶y̶ ̶f̶o̶r̶ ̶M̶A̶C̶,̶ ̶a̶n̶d̶ ̶a̶ ̶f̶r̶e̶e̶ ̶B̶E̶T̶A̶ ̶v̶e̶r̶s̶i̶o̶n̶ ̶f̶o̶r̶ ̶W̶i̶n̶d̶o̶w̶s̶.̶<br>Buy now for OS X or Windows: <a href="https://affinity.serif.com/en-us/designer/">affinity/designer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fff31b9a9dfd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/almoullim/affinity-designer-photoshop-competitor-fff31b9a9dfd">Affinity Designer: Photoshop competitor</a> was originally published in <a href="https://medium.com/almoullim">Almoullim’s Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>