<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aditya Deshlahara</title>
    <description>The latest articles on DEV Community by Aditya Deshlahara (@hackmaster).</description>
    <link>https://dev.to/hackmaster</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F748771%2F440aeaf3-962c-43f5-9ec2-46b78057baf5.jpeg</url>
      <title>DEV Community: Aditya Deshlahara</title>
      <link>https://dev.to/hackmaster</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hackmaster"/>
    <language>en</language>
    <item>
      <title>How to increase productivity at work with a pretty Windows Terminal and smart Powerline tools</title>
      <dc:creator>Aditya Deshlahara</dc:creator>
      <pubDate>Sat, 05 Mar 2022 08:02:18 +0000</pubDate>
      <link>https://dev.to/hackmaster/how-to-increase-productivity-at-work-with-a-pretty-windows-terminal-and-smart-powerline-tools-35k</link>
      <guid>https://dev.to/hackmaster/how-to-increase-productivity-at-work-with-a-pretty-windows-terminal-and-smart-powerline-tools-35k</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy2eqspuo6mux91i68csz.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy2eqspuo6mux91i68csz.jpeg" alt="windows terminal" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Windows Terminal is the latest software update for your boring and ugly looking command-line tools like cmd, powershell and WSL (Windows Subsystem for Linux)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Top Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Google Chrome like multi-tabs suppport&lt;/li&gt;
&lt;li&gt;GPU acceleration (for faster text rendering)&lt;/li&gt;
&lt;li&gt;Split panes support(eg: 4 cmd tabs at once)&lt;/li&gt;
&lt;li&gt;Custom themes and styling (you dress it like you want)&lt;/li&gt;
&lt;li&gt;Open Source project (you too can contribute to make it better)&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Microsoft’s intervention in the open-source community has opened up new doors for developers like us and has brought in more flexibility too.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Pre-requisites
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://aka.ms/terminal" rel="noopener noreferrer"&gt;Install Windows Terminal&lt;/a&gt; (recommended)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/PowerShell/PowerShell/releases/tag/v7.0.3" rel="noopener noreferrer"&gt;Install Powershell Core&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Windows Users, downoad file with the extension .msi
PowerShell-X.X.X-win-x64.msi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Setup &lt;a href="https://git-scm.com/downloads" rel="noopener noreferrer"&gt;Git for Windows&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Get a good &lt;a href="https://www.nerdfonts.com/font-downloads" rel="noopener noreferrer"&gt;powerline&lt;/a&gt; font to make your prompt smart and beautiful

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/microsoft/cascadia-code/releases" rel="noopener noreferrer"&gt;Cascadia Code PL&lt;/a&gt; (official command line font from Microsoft)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.nerdfonts.com/font-downloads" rel="noopener noreferrer"&gt;Nerd Fonts&lt;/a&gt; (choose from a variety of good fonts for the nerds like us)
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;STEPS TO INSTALL:
1. Download the .zip file from the releases page
2. Right-click on the font file and install it
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Installation Steps - Guide
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Open PowerShell Core prompt&lt;/li&gt;
&lt;li&gt;Install &lt;a href="https://github.com/dahlbyk/posh-git" rel="noopener noreferrer"&gt;Posh-Git&lt;/a&gt; using this command:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Install-Module posh-git -Scope CurrentUser
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Posh-Git solves our age-old problem for checking &lt;code&gt;git status&lt;/code&gt; or &lt;code&gt;git branch&lt;/code&gt; information and provides interesting features :&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Tab completion intellisense (type-in the command and it gives you auto-completion just by hitting &lt;code&gt;Tab&lt;/code&gt; button)&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Git commands&lt;/li&gt;
&lt;li&gt;Parameters /git flags&lt;/li&gt;
&lt;li&gt;Branch names&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Install &lt;a href="https://github.com/JanDeDobbeleer/oh-my-posh" rel="noopener noreferrer"&gt;Oh-My-Posh&lt;/a&gt; using this command: &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;&lt;br&gt;
Install-Module oh-my-posh -Scope CurrentUser&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Oh-My-Posh adds powerful theming support and other capabilities to Powershell for making a fluid git experience possible&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;NOTE: While running the above commands, you may get an option to install NuGet. So go ahead and install it by pressing [Y] key&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;(Optional) Install &lt;strong&gt;PSReadline&lt;/strong&gt; if you are running PowerShell Core&lt;/li&gt;
&lt;li&gt;Customize the PowerShell prompt with custom styles
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;notepad $PROFILE
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Add the following lines to the notepad file and save it using &lt;code&gt;Ctrl + S&lt;/code&gt; (Windows)
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Open Windows Terminal settings config file&lt;/li&gt;
&lt;li&gt;Open Windows Terminal&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Ctrl + ,&lt;/code&gt; (or manually go to settings like below)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fti29axxufi21yr788ok3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fti29axxufi21yr788ok3.png" alt="terminal settings" width="767" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set a nice default font-family for your Windows Terminal &lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Find "defaults" object under "profiles" object&lt;/li&gt;
&lt;li&gt;Paste the following line under "defaults" object
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"defaults":
   {
     // Put settings here that you want to apply to all profiles.
     "fontFace": "Cascadia Code PL",
   },
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Bingo!
&lt;/h3&gt;

&lt;p&gt;Now your productivity will boost up while you work on your dreams…&lt;/p&gt;

</description>
      <category>windowsterminal</category>
      <category>powershel</category>
      <category>cmd</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
