<?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 Sahana Rajasekar on Medium]]></title>
        <description><![CDATA[Stories by Sahana Rajasekar on Medium]]></description>
        <link>https://medium.com/@sahanarajasekar?source=rss-858318667811------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*H8hc5CuKH75ntiuaAGCsmA.jpeg</url>
            <title>Stories by Sahana Rajasekar on Medium</title>
            <link>https://medium.com/@sahanarajasekar?source=rss-858318667811------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:21:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sahanarajasekar/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[5 ways to upgrade your Terminal]]></title>
            <link>https://medium.com/@sahanarajasekar/5-ways-to-upgrade-your-terminal-2fb8ab447949?source=rss-858318667811------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fb8ab447949</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Sahana Rajasekar]]></dc:creator>
            <pubDate>Wed, 09 Mar 2016 18:36:48 GMT</pubDate>
            <atom:updated>2016-03-10T18:20:06.499Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re a developer and you spend a lot of time in the Mac Terminal, it’s worth your time to make some improvements that will increase your productivity and make you feel more bad-ass.</p><h4><strong>1. Get iTerm</strong></h4><p>Why? iTerm is better than the Mac Terminal for a couple of reasons including having split pane view, easier search (it highlights all the words), better mouse text selection support, and is overall more customizable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*2GSr6tLuwdzsuj1RTGmnvw.png" /><figcaption>Split pane view and search highlighting in iTerm</figcaption></figure><p>Download it here: <a href="https://www.iterm2.com/version3.html">https://www.iterm2.com/version3.html</a></p><p>iTerm 3 is the newest version of iTerm and has a more beautiful flat design. Oh and it supports <a href="https://gist.github.com/wesbos/eac5f93478002312db1f">images and gifs in the terminal</a>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*0uR_jCkF98ZdNnHb70sx6Q.gif" /><figcaption>Who doesn’t love puppy gifs?</figcaption></figure><h4><strong>2. Know your shortcuts</strong></h4><p>Shortcuts in the terminal makes developing a LOT faster — when you get used to using these you’ll wish they worked on every app.</p><p><strong>Existing terminal keyboard shortcuts:</strong></p><p><em>Ctrl + A</em> Go to the beginning of the line you are currently typing on</p><p><em>Ctrl + E </em>Go to the end of the line you are currently typing on</p><p><em>Ctrl + R </em>Lets you search through previously used commands</p><p><em>Ctrl + W</em> Delete the word before the cursor</p><p><em>(iTerm only) </em>Move through tabs right: <em>Cmd + →</em> and left: <em>Cmd + ←</em></p><p><em>(iTerm only) </em>Move through panes next: <em>Cmd + ] </em>and previous: <em>Cmd + [</em></p><p><strong>Setup iTerm’s system-wide hotkey to open window from anywhere:</strong></p><p>In iTerm preferences, click on the “Keys” tab. In the bottom left, under “Hotkey”, check “Show/hide iTerm with a system-wide hotkey” and assign the hotkey you’d like to use.</p><p><strong>Enable word jump:</strong> In iTerm preferences, click on the “Keys” tab, add new Key Mapping.</p><p><em>Keybord shortcut:</em> option + → | <em>Action:</em> Send Escape Sequence | <em>Esc+</em>: f</p><p><em>Keybord shortcut:</em> option + ← | <em>Action:</em> Send Escape Sequence | <em>Esc+</em>: b</p><h4>3. Upgrade your shell</h4><p>When you launch the terminal it will always run with a program inside it to communicate with the computer, this is called the <em>shell</em>. On OS X, the default shell is Bash. If your terminal is using Bash you should see <em>-bash</em> or <em>/bin/bash</em> when you type “echo $SHELL” in the terminal.</p><p>Zsh is another type of shell for your terminal. Zsh has a ton of cool features -that may seem small but they can really increase your efficiency in the terminal.</p><ul><li>Hit <em>tab</em> repeatedly to cycle through autocomplete options</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*tQsFg7WV4dKIayNy9ctu_Q.gif" /></figure><ul><li>Hit <em>tab</em> to use path expansion</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*5--Bv7IUpaZ7O1nQWQ2MOQ.gif" /></figure><ul><li>Hit <em>tab</em> to finish a command using substring command history search</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*iKEZI0CxT_xL-WytweWkGw.gif" /></figure><ul><li>Maintain a shared command history between tabs</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*9c1b-h1NOEPNkoCk0Es5mg.gif" /><figcaption>Keep your volume on for this command! ;)</figcaption></figure><ul><li>Create custom layouts (keep reading for more on this)</li></ul><p>Let’s install it! First, you will need to download <a href="http://brew.sh/">Homebrew</a>, which makes downloading new packages on OS X much easier.</p><p>Install homebrew:</p><pre>/usr/bin/ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;</pre><p>Install zsh:</p><pre>brew install zsh zsh-completions</pre><p>To get all the great tools zsh has to offer we will be using <a href="http://ohmyz.sh/">oh-my-zsh</a>, a nicely packaged zsh framework.</p><p>Install oh-my-zsh:</p><pre>curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh</pre><p>Open a new tab and give it a try. If you like it, make zsh your default shell:</p><pre>chsh -s /bin/zsh</pre><p>Now try “echo $SHELL” again — you should see <em>-zsh</em> or <em>/bin/zsh</em>.</p><h4>4. Make your terminal look more “you”</h4><p>With zsh installed, you may have noticed that your terminal looks a little different. Oh-my-zsh has a ton of themes to choose from <a href="https://github.com/robbyrussell/oh-my-zsh/wiki/themes">here</a>. You can use themes to show information that’s important to you in the terminal like time, git branch, file path, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*uK0DNl6x4oWVdaCQBEaLMA.gif" /><figcaption>Some of the themes to choose from</figcaption></figure><p>Once you find a theme that you like, set ZSH_THEME to the name of the theme in your ~/.zshrc.</p><pre>ZSH_THEME=&quot;avit&quot;</pre><p>Customizing your theme further is pretty easy. You can find all the theme files under~/.oh-my-zsh/themes/ — duplicate a theme that you like, rename it, and make any changes.</p><p>To add emojis to your command prompt, open up your custom theme file in a text editor and use “alt+command+T” to open up the special character library. Add emojis in the PROMPT line of your custom theme file. Protip: add a space after each emoji so they don’t overlap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Eszcp6Waft_vXrIZjnMyw.png" /></figure><h4>5. Use aliases</h4><p>Aliases are shortcuts or abbreviations for commands you type in the terminal. They can save you time if you repeatedly use certain long commands.</p><p>To set up aliases, create a file ~/.aliases:</p><pre>vi ~/.<em>aliases</em></pre><p>Add command shortcuts in ~/.aliases:</p><pre>alias <em>alias_name</em>=&quot;<em>command_to_run</em>&quot;</pre><p>If you already use bash aliases, you can easily transfer those over to zsh by coping them over to ~/.aliases.</p><p>In ~/.zshrc add:</p><pre>source $HOME/.aliases</pre><p>Bash and zsh can also share the same aliases. In ~/.bashrc add:</p><pre>if [ -f ~/.aliases ]; then <br>   . ~/.aliases <br>fi</pre><p>Oh-my-zsh installs many <a href="https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh">git aliases</a>. Open up a new tab/window and give your aliases a try.</p><p>That’s all for now! Hopefully you learned some cool tricks to make your terminal more effective and beautiful. I’m sure there are more great tips that I missed, let me know in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fb8ab447949" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>