<?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: Trisha Aguinaldo</title>
    <description>The latest articles on DEV Community by Trisha Aguinaldo (@trisha114).</description>
    <link>https://dev.to/trisha114</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%2F173372%2Fe83d9e1e-a870-4ac8-a43a-96ded5052705.jpg</url>
      <title>DEV Community: Trisha Aguinaldo</title>
      <link>https://dev.to/trisha114</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/trisha114"/>
    <language>en</language>
    <item>
      <title>How to become a coder</title>
      <dc:creator>Trisha Aguinaldo</dc:creator>
      <pubDate>Sat, 20 Mar 2021 21:16:42 +0000</pubDate>
      <link>https://dev.to/trisha114/how-to-become-a-coder-5935</link>
      <guid>https://dev.to/trisha114/how-to-become-a-coder-5935</guid>
      <description>&lt;p&gt;Lately, I've been swamped with messages asking for career advice. Members of my family, my friends, and strangers all want to switch careers or get a high-paying job with work-from-home options.&lt;/p&gt;

&lt;p&gt;The people who generally ask me for career advice know that I did not graduate with a Computer Science degree. They've looked at my &lt;a href="https://www.linkedin.com/in/paguinaldo/"&gt;LinkedIn&lt;/a&gt; profile and found my strong career progression in my current role. I imagine in my head they're thinking: "Okay, so if she was able to do it. Then maybe I can too." &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--g8mPdVpz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media.tenor.com/images/c1da7e2520ff1b83b5bb27527094b4f9/tenor.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--g8mPdVpz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media.tenor.com/images/c1da7e2520ff1b83b5bb27527094b4f9/tenor.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And you are right! It just takes a bit of grind, some leg work, and taking calculated risks. &lt;/p&gt;

&lt;h2&gt;
  
  
  How I got started
&lt;/h2&gt;

&lt;p&gt;My journey started about three years ago. I somehow weaved my way into programming while trying to customize my Wordpress website for my artisan soap side hustle. To be honest with you, my knowledge of HTML and CSS at that time were things I've from the MySpace era and &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee"&gt;concepts&lt;/a&gt; I've learned back in 4th grade while reading through my cousin's high school programming book.&lt;/p&gt;

&lt;p&gt;Anyway, I dropped out of my masters program and began teaching myself how to code while still working a full time job 40 hours a week at an outpatient clinic. At that time, I was trying to figure out how I can quit my full time job at the clinic as fast as possible without having to run out of money or go hungry.&lt;/p&gt;

&lt;p&gt;So I started by googling stuff like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Coding careers"&lt;/li&gt;
&lt;li&gt;"How do I become a software engineer?" &lt;/li&gt;
&lt;li&gt;"How to quit my job really fast and become a developer?" &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Much of the resources out there for a fast career transition into programming boiled down to two essential questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What kind of engineer do you want to be?&lt;/li&gt;
&lt;li&gt;What are you willing to sacrifice to get to where you want to be?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What kind of engineer do you want to be?
&lt;/h2&gt;

&lt;p&gt;Most people at the starting point think of coders or programmers as "hackers". You know the sort: heads down, hoods up, 10x whiz kids. I myself didn't know the difference between a hacker, a software developer/engineer, and a programmer. So I made it a point to read through articles that explained the differences. ( Article &lt;a href="https://danielmiessler.com/study/programmer_hacker_developer/#:~:text=A%20Hacker%20is%20someone%20who,together%20to%20make%20it%20work.&amp;amp;text=The%20term%20software%20engineer%20is%20mostly%20synonymous%20with%20developer"&gt;1&lt;/a&gt; | &lt;a href="https://medium.com/javascript-scene/software-roles-and-titles-e3f0b69c410c"&gt;2&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ljj6_Zoe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://danielmiessler.com/images/DeveloperHackerProgrammer-e1464829544285.png.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ljj6_Zoe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://danielmiessler.com/images/DeveloperHackerProgrammer-e1464829544285.png.webp"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It turns out that there are many other roles in the software or technology space rather than just coder or a developer. For example, there are entry level jobs like Quality Assurance (QA) Engineers, Data Analysts, and UI/UX Designers. There are also other career paths like Dev Ops, Engineering Management, Security, Product, and Artificial Intelligence. &lt;/p&gt;

&lt;p&gt;Anyway, the research led me to review a list of available jobs in the tech space. For each role, I took note of the starting position and the &lt;a href="https://www.ongig.com/job-titles#/"&gt;opportunities of growth&lt;/a&gt; for that position. I also noted the salary I wanted and the kind of life style I wanted for the next 30 years. Then I made my top 3 career choices: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Software Engineer / Developer&lt;/li&gt;
&lt;li&gt;UI / UX Designer&lt;/li&gt;
&lt;li&gt;Data Scientist&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How to choose the best role that fits me
&lt;/h2&gt;

&lt;p&gt;I wanted a job where I was away from customer service and had a good career progression. I imagined my day consisting of working on something tangible and having the ability to deliver a product at the end of the day. I didn't want to get pigeonholed into one career for almost five years like how I was at my previous company. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rvMxmew7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://f7y4w3i9.stackpathcdn.com/wp-content/uploads/2020/04/pigeons-arent-real-drone.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rvMxmew7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://f7y4w3i9.stackpathcdn.com/wp-content/uploads/2020/04/pigeons-arent-real-drone.png" alt="birds aren't real"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So I looked up "&lt;a href="https://www.ongig.com/job-titles#/"&gt;Software Engineering Hierarchy&lt;/a&gt;". It turns out there is a lengthy ladder that I can climb up for the role "Software Developer / Engineer."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pyn4dyOq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2shvezvv4hf5p.cloudfront.net/wp-content/uploads/2020/03/29091750/software-developer-job-titles-hierarchy-Ongig.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pyn4dyOq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2shvezvv4hf5p.cloudfront.net/wp-content/uploads/2020/03/29091750/software-developer-job-titles-hierarchy-Ongig.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At this point, I answered the first question: "I want to be a software engineer." &lt;/p&gt;

&lt;h2&gt;
  
  
  What next?
&lt;/h2&gt;

&lt;p&gt;Well I identified two road blocks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;I did not know anyone who was a software developer.&lt;/li&gt;
&lt;li&gt;I didn't know any practical skills. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What do I mean by "practical skills?" These are the basic skills that you need to learn in order to get hired for the position. Think of it this way: if you are a technician, a nurse, or a pilot, you'd first have to train specifically for that job. Programming is also a technical job that is learnable.&lt;/p&gt;

&lt;h3&gt;
  
  
  Building my network
&lt;/h3&gt;

&lt;p&gt;Not knowing anyone who worked as a software developer is a major disadvantage. I didn't have anyone to ask for career advice. But addressing this first roadblock is super easy! All you have to do is go on to your social media (Facebook, Instagram, LinkedIn) and reach out to your connections and see if anyone is working in the field. You can send them a message explaining your desire to break into the field and ask them a couple of questions. I started by asking the Sisters in my sorority if anyone was a developer. Then, I reached out to each one personally and booked a time for informational interviews. &lt;/p&gt;

&lt;p&gt;Note: Keep in mind that being prepared for these meetings is key to getting the most out of your interactions. I came prepared with my list of questions!&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What’s your coding story? How did you get started?&lt;/li&gt;
&lt;li&gt;What is your job title and what are your responsibilities?&lt;/li&gt;
&lt;li&gt;If you don't mind me asking, how much do you earn? Is that a competitive salary for your role in your area?&lt;/li&gt;
&lt;li&gt;What is your company’s stack?&lt;/li&gt;
&lt;li&gt;How is your day like in the office? Or what is your workflow like?&lt;/li&gt;
&lt;li&gt;Is your company &lt;a href="https://www.atlassian.com/agile"&gt;Agile&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Is your company team oriented? What is the culture and the dynamic like?&lt;/li&gt;
&lt;li&gt;What task makes up the majority of your time?&lt;/li&gt;
&lt;li&gt;What dev tools do you like to use?&lt;/li&gt;
&lt;li&gt;Do you have any advice for me?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I interviewed about 5 people, three of which were women! One of them went through bootcamp while the other two graduated college with a computer science degree.&lt;/p&gt;

&lt;p&gt;At this point, I now had 5 people in my network who I can reach out to. I was able to expand my network! But most of them were not in the Boston area. So I had to try and build my network in Boston, MA where I plan to get my first career in software development.&lt;/p&gt;

&lt;p&gt;The next logical thing to do is to start attending meetups. I searched for the earliest Tech meetups in my area on &lt;a href="https://www.meetup.com/"&gt;Meetup.com&lt;/a&gt; or &lt;a href="https://www.eventbrite.com/d/ma--boston/events/"&gt;Eventbrite&lt;/a&gt;. Luckily, there were plenty of free intro classes hosted by bootcamps like Thinkful or General Assembly. But there were also events hosted by organizations like &lt;a href="https://www.womenwhocode.com/boston"&gt;Women Who Code Boston&lt;/a&gt; or &lt;a href="https://www.meetup.com/GDG-Cambridge-MA/"&gt;Google Developer Meetup Cambridge&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It was very easy for me to network pre-Covid. Nowadays, it's hard for people to build those organic relationships since most events are now virtual over Zoom. The important thing here is to start building your engineering network! Keep networking because good connections is key to finding good job opportunities.&lt;/p&gt;

&lt;h3&gt;
  
  
  Sacrifice something to fast track your goal
&lt;/h3&gt;

&lt;p&gt;Okay so at this point, we answered the first question, &lt;br&gt;
"What kind of engineer do you want to be?" Now to the next question:&lt;br&gt;
What are you willing to sacrifice to get to where you want to be?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8NYzKnh4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://i.gifer.com/F0DT.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8NYzKnh4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://i.gifer.com/F0DT.gif" alt="sacrifice"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;"How can I get practical experience super fast?" I asked my support group (Google Search Engine) whether I should go back to school and get a Computer Science degree, go to bootcamp, or self-learn. I figured that going back to school for a CompSci degree was not feasible. I was already buried neck deep into debt from my undergraduate degree, loans from dropping out of my masters program, and the credit card interest rates just to keep up my day-to-day expenses. So I had to make a calculated risk. &lt;/p&gt;

&lt;p&gt;If I tried to self-learn, it will surely be the cheapest option, but it's also the most inefficient and slowest way to go. I wasn't close enough with anyone who can teach me the skills to become a developer. I had no idea where I would start. So the best option was enrolling in a software engineering bootcamp. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kTIAO_1D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media3.giphy.com/media/xULW8JVxArl4AE9xWU/200.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kTIAO_1D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media3.giphy.com/media/xULW8JVxArl4AE9xWU/200.gif" alt="sign my soul to bootcamp"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Bootcamp
&lt;/h3&gt;

&lt;p&gt;Bootcamp is NOT for everyone. You can still learn the stuff that you learn from bootcamp through Udemy or open-source courses. It just takes a lot of discipline to self-motivate, pace yourself, and be self-accountable. Also, enrolling at bootcamp is NOT cheap. But I was not willing to sacrifice any more of my time in self-learning. I wanted to switch careers fast. So, I took a calculated risk by getting an income share agreement in order to pay for my training. &lt;/p&gt;

&lt;p&gt;At the time, I had no other financial choice open except for an ISA (which is a terrible deal). In addition, I ended up talking to my manager at the time about reducing my hours because I was trying to switch careers. I reduced my hours from 40 to 26 - 30 hours per week. I worked only the weekends and some weekdays. While I was fully enrolled at bootcamp logging 60-80 hours a week on learning for the next 6 months. I really do not recommend quitting your day job until you have another job lined up!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DhTQOh5s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://miro.medium.com/max/1000/1%2AjhpCmRoeQFnHbo1jAgs_Kw.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DhTQOh5s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://miro.medium.com/max/1000/1%2AjhpCmRoeQFnHbo1jAgs_Kw.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What I valued most at bootcamp was the ability to work 1:1 with developers. I cherished the times I would meet with my mentors and asked to pair program whenever possible. I learned a year's worth of self-studying material in a span of 6 months at bootcamp. They were all things that helped me get started in the tech space. Such as:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The history of computers, internet, and websites&lt;/li&gt;
&lt;li&gt;Imposter Syndrome&lt;/li&gt;
&lt;li&gt;Command Line Interface (CLI)&lt;/li&gt;
&lt;li&gt;Git and Version Control&lt;/li&gt;
&lt;li&gt;HTML &amp;amp; CSS&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;li&gt;Object Oriented Programming&lt;/li&gt;
&lt;li&gt;Data Structures and Algorithms&lt;/li&gt;
&lt;li&gt;How to pair program and work in Agile teams&lt;/li&gt;
&lt;li&gt;How to do well in white board interviews&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Although I learned a lot, bootcamp cannot replace 4 years of computer science. But it taught me what I needed to know to get an entry level job. Anyway after 6 months of hard work and a lot of sleep-deprived nights, I was able to graduate bootcamp and land a sweet job as a Quality Assurance Engineer! A year after that, I transitioned to full stack development.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LBmqltHN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://i.pinimg.com/originals/88/dc/6f/88dc6f10faff36878581024c210e3834.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LBmqltHN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://i.pinimg.com/originals/88/dc/6f/88dc6f10faff36878581024c210e3834.gif"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Is coding is something you have done before? &lt;br&gt;
Yes. I used to &lt;code&gt;&amp;lt;marquee&amp;gt; my way &amp;lt;/marquee&amp;gt;&lt;/code&gt; in life prior to my journey 3 years ago. If you are referring to running scripts to make your computer do certain tasks or feature development then also yes. I am a developer at heart.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is the first language that you learned?&lt;br&gt;
Before I learned any programming languages, I read up on the basics of websites and computers. I watched videos on Youtube about the brief history of websites and computers. Then, I started learning HTML, CSS, and manipulating the computer using the Command Line Interface (CLI). These are the very basic prep work you need to know before you can start learning about web development. &lt;br&gt;
The next thing I did was learn JavaScript through drills and feature development. After that, I learned frameworks like React, Redux, Node.js, REST API, and so forth. I worked on learning database management systems like NoSQL and PostgreSQL, data structures and algorithms, and best practices of Object Oriented Programming. &lt;br&gt;
I tested all of my knowledge regularly in mock interviews and by building full stack applications. After all of that, I learned how to work within a team using Agile best practices. Once I was confident in all of that, I learned Python for fun!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What tech stack should I learn first?&lt;br&gt;
Honestly, it'll depend on the tech stack that is popular in your area. It's important that you look at job descriptions for your intended role and figure out what kinds of requirements they are asking for in the job description. For example, at &lt;a href="https://www.reggora.com/careers/?jobId=5969f076-5c13-4041-b494-3e6c5fe3fce2"&gt;Reggora&lt;/a&gt; we require our Senior Full Stack Software Developers to have strong OOP and software design knowledge and experience with JavaScript frameworks like React/Redux. My advice is sort through a couple of job descriptions offered in your area and then start from there!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What are some books or resources you used to start my own self-learning?&lt;br&gt;
You can find some really good &lt;a href="https://www.udemy.com/"&gt;Udemy&lt;/a&gt; classes. You can also find some open-source program like the self-taught courses in CompSci offered by &lt;a href="https://github.com/ossu/computer-science"&gt;Open Source Society University&lt;/a&gt;. I recommend taking a comprehensive program that allows you to learn through practical exercises. At the end of your program you should have a couple of technical projects that you can show off on your resume. &lt;br&gt;
Anyway, I learned the MERN stack when I first started. But I have grown to like Python more so than JavaScript. Though to be honest with you, once you learn Object Oriented Programming, the language matters less. It's more of like a syntax preference. If you are looking to start somewhere, I recommend learning JavaScript first with React Hooks and a NoSQL database like MongoDB.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Do you have any other insights?&lt;br&gt;
Yep! If you are just looking to switch careers without going through such intensive training you might consider applying for a QA Engineer position. Though the transition from QA to Software Engineer is a bit hard, it's a good starting point if you are starting from scratch and no Comp Sci major. The second advice is to find mentors or peers who are also learning how to code. Trust me you will be stumped at some places and it is helpful to have someone to bounce off from. Word of caution though, much of your success will depend on you. This road is a tough one but it is also very rewarding!&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>career</category>
      <category>programming</category>
    </item>
    <item>
      <title>Bash profile shortcuts and terminal customizations</title>
      <dc:creator>Trisha Aguinaldo</dc:creator>
      <pubDate>Mon, 23 Dec 2019 23:43:08 +0000</pubDate>
      <link>https://dev.to/trisha114/bash-profile-shortcuts-and-terminal-customizations-2lmj</link>
      <guid>https://dev.to/trisha114/bash-profile-shortcuts-and-terminal-customizations-2lmj</guid>
      <description>&lt;p&gt;The type of work I do requires me to switch between git branches constantly. Over time, I've built a list of shortcuts and customizations that made my life easier. &lt;/p&gt;

&lt;p&gt;Read along if you want to customize your terminal output and copy &amp;amp; paste some useful shortcuts for docker and git. &lt;/p&gt;

&lt;h2&gt;
  
  
  Jazz up your terminal
&lt;/h2&gt;

&lt;p&gt;Add an emoji on your user name and show the relative path of your directory&lt;/p&gt;

&lt;p&gt;Turn this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;trisha @ /codewars  &lt;span class="err"&gt;$&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Into this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;trisha🔥 @ ~/projects/codewars  &lt;span class="err"&gt;$&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Copy and Paste into your .bash_profile and re-open your shell:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;PS1&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\u&lt;/span&gt;&lt;span class="s2"&gt;🔥 @ &lt;/span&gt;&lt;span class="se"&gt;\w&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;CLICOLOR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;LSCOLORS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;ExFxBxDxCxegedabagacad
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;PS1 will determine the display path. You can even add an emoji as seen above (🔥).&lt;br&gt;
CLICOLOR will determine the output color theme&lt;br&gt;
LSCOLORS determines the background. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Read more here: &lt;a href="http://osxdaily.com/2013/02/05/improve-terminal-appearance-mac-os-x/" rel="noopener noreferrer"&gt;http://osxdaily.com/2013/02/05/improve-terminal-appearance-mac-os-x/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Terminal profiles and window arrangements
&lt;/h3&gt;

&lt;p&gt;Use a terminal emulator (like iTerm2) to quickly launch profile configurations. Useful if you have a couple of full-stack projects you're working on and want to launch the application using a single command.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;CTRL + SHIFT + R&lt;/code&gt; will quickly open a saved window arrangement with whatever profiles you configure it with. It'll look something like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1sYJjorBBt25w37QsxFRgmwbDpd41zZmi" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1sYJjorBBt25w37QsxFRgmwbDpd41zZmi" alt="iterm2 window arrangement"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;^ Notice those tabs, eh?? What’s so cool about it is that you can save full-stack repos in a window arrangement once and then switch tabs without needing to change directories constantly. What a time saver! :D &lt;/p&gt;

&lt;p&gt;Pro-tip: You can also add a starting script on your saved profile. I typically add &lt;code&gt;cd &amp;lt;file_path&amp;gt;; git fetch; git status;&lt;/code&gt; so when I open the profile, it’s already in the correct directory and it tells me the status of my current branch.&lt;/p&gt;

&lt;p&gt;iTerm2 link &lt;a href="https://iterm2.com/index.html" rel="noopener noreferrer"&gt;https://iterm2.com/index.html&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Terminal color schemes
&lt;/h3&gt;

&lt;p&gt;If you want your bash outputs to look better, try out iTerm2's themes. It makes a difference when you are reading the logs and error stacks.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Color Schemes &lt;a href="https://github.com/mbadolato/iTerm2-Color-Schemes" rel="noopener noreferrer"&gt;https://github.com/mbadolato/iTerm2-Color-Schemes&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;My fav (dracula): &lt;a href="https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/schemes/Dracula.itermcolors" rel="noopener noreferrer"&gt;https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/schemes/Dracula.itermcolors&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D10guCpxPArQXcMfpBqjDYfHJmY94b_J70" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D10guCpxPArQXcMfpBqjDYfHJmY94b_J70" alt="example of dracula theme iterm2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You'll want to download the &lt;code&gt;.txt&lt;/code&gt; file of your color scheme and then upload it on your iterm2 &lt;code&gt;preferences &amp;lt; profiles &amp;lt; colors &amp;lt; color schemes&lt;/code&gt;: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1WUdYUFxBP7p1UOU_5IMHVXDLr1p_w0GD" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1WUdYUFxBP7p1UOU_5IMHVXDLr1p_w0GD" alt="iterm2 preferences"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Shortcuts / Aliases
&lt;/h2&gt;

&lt;p&gt;Here's a list of useful git and docker aliases that I use daily. It's super helpful especially when your repos have submodules that you need to update daily.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# ----------------------&lt;/span&gt;
&lt;span class="c"&gt;# Git Aliases&lt;/span&gt;
&lt;span class="c"&gt;# ----------------------&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;upstream&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git push --set-upstream origin'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;ga&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git add -A'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gb&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git branch'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gbd&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git branch --D '&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gcm&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git commit --message'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gco&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git checkout'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gcob&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git checkout -b'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gcod&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git checkout development'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gd&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git diff'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;glg&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git log --graph --oneline --decorate --all'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gp&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git pull'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git status'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gf&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git fetch'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;grh&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git reset --hard'&lt;/span&gt; 



&lt;span class="c"&gt;# ----------------------&lt;/span&gt;
&lt;span class="c"&gt;# Git Submodule ForEach Aliases&lt;/span&gt;
&lt;span class="c"&gt;# ----------------------&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gsf&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git submodule foreach'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gcos&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git submodule foreach git checkout'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gcods&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git submodule foreach git checkout development'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gfs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git submodule foreach git fetch'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gss&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git submodule foreach git status'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gbs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git submodule foreach git branch'&lt;/span&gt; 
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;gps&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git submodule foreach git pull'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;grhs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'git submodule foreach git reset --hard'&lt;/span&gt; 



&lt;span class="c"&gt;# ----------------------&lt;/span&gt;
&lt;span class="c"&gt;# Docker Aliases&lt;/span&gt;
&lt;span class="c"&gt;# ----------------------&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;dc&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'docker-compose'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;dcb&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'docker-compose up --build'&lt;/span&gt; 
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;dps&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'docker ps -a'&lt;/span&gt;
&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;drm&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'docker container rm'&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>bash</category>
      <category>git</category>
      <category>docker</category>
      <category>submodules</category>
    </item>
    <item>
      <title>Updating Vim (MacOS)</title>
      <dc:creator>Trisha Aguinaldo</dc:creator>
      <pubDate>Sun, 07 Jul 2019 14:37:06 +0000</pubDate>
      <link>https://dev.to/trisha114/updating-vim-macos-797</link>
      <guid>https://dev.to/trisha114/updating-vim-macos-797</guid>
      <description>&lt;h2&gt;
  
  
  What is Vim?
&lt;/h2&gt;

&lt;p&gt;It's a powerful open-source text editor that allows you to edit your text files on the command line. You technically don't need to leave the Terminal to code. &lt;/p&gt;

&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;p&gt;I spent like 30 mins trying to figure out how to install Vim when I first heard about it, so I'm saving you the wasted effort: Vim comes pre-installed in MacOS. No need to install if your current version is the latest stable version. The most current version at this time of writing is Vim &lt;strong&gt;8.1&lt;/strong&gt;. Check out the latest stable Vim version at &lt;a href="https://www.vim.org/download.php"&gt;vim.org/download.php&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--a6Q1ApiN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1VBHhfqg-ipk-k_GwYuFrzbv0dF7QRDO3" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--a6Q1ApiN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1VBHhfqg-ipk-k_GwYuFrzbv0dF7QRDO3" alt="latest vim version"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Updating Vim
&lt;/h2&gt;

&lt;p&gt;My current Vim is at version &lt;strong&gt;8.0.1283&lt;/strong&gt;. Sadly, it's not the latest stable version so I'm going to update it to &lt;strong&gt;^ 8.1.x&lt;/strong&gt;. FYI my laptop is a MacOS Mojave 10.14.4. If you are not a Mac user, click &lt;a href="https://www.vim.org/download.php"&gt;here&lt;/a&gt; for device-specific instructions (Unix or MS-Windows). &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Get Current Version of Local Vim&lt;/strong&gt;&lt;br&gt;
To figure out what your local version of Vim, enter the command &lt;code&gt;vim -v&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;It should return something like below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hJFPNorb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1AU8WreMRGQR_HrNxBCYkGWSNAVYevR6W" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hJFPNorb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1AU8WreMRGQR_HrNxBCYkGWSNAVYevR6W" alt="local vim version"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  MacVim for OS
&lt;/h3&gt;

&lt;p&gt;I decided to update using &lt;a href="https://github.com/macvim-dev"&gt;MacVim&lt;/a&gt;. There are other &lt;a href="https://www.vim.org/download.php"&gt;options&lt;/a&gt; though! If you're like me, you're wondering what the difference is between MacVim and Vim. Google says there's no difference 😁&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--axn_mWxr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1fALK6gy5FeI7sR2t04kls_WMwm2wYFgD" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--axn_mWxr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1fALK6gy5FeI7sR2t04kls_WMwm2wYFgD" alt="macvim vs vim"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/macvim-dev/macvim/wiki/FAQ"&gt;More about MacVim on FAQ&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Installing MacVim
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Go to &lt;a href="https://github.com/macvim-dev/macvim/releases/latest"&gt;https://github.com/macvim-dev/macvim/releases/latest&lt;/a&gt; for the latest version of MacVim and download &lt;strong&gt;MacVim.dmg&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Open the &lt;strong&gt;.dmg&lt;/strong&gt; file, and copy MacVim.app to &lt;strong&gt;/Applications&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--D-xTUmid--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1e55IYBZ65kp29xyYUflKVZ3vb4qUM6MB" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--D-xTUmid--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1e55IYBZ65kp29xyYUflKVZ3vb4qUM6MB" alt="copy macvim to applications"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;At this point, you can run the MacVim GUI by double-clicking the icon.&lt;/li&gt;
&lt;li&gt;You'll enter &lt;strong&gt;vim command mode&lt;/strong&gt; once you double-click the icon. &lt;/li&gt;
&lt;li&gt;To exit vim command mode, type in &lt;code&gt;:q&lt;/code&gt; and press Enter. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Here's a list of common Vim commands below:
&lt;/h3&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- type `:q&amp;lt;ENTER&amp;gt;` to **EXIT** out of MacVim mode
- type `:help mvim` for help
- type `:wq&amp;lt;ENTER&amp;gt;` to save and exit
- type `:q!` to exit without saving changes
- type `i` to enter insert mode
- press **ESC** to exit insert mode
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Vim has two modes &lt;strong&gt;insert mode&lt;/strong&gt; and &lt;strong&gt;command mode&lt;/strong&gt;. For a starter list visit &lt;a href="https://coderwall.com/p/adv71w/basic-vim-commands-for-getting-started"&gt;coderwall - basic vim commands&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Add mvim as a terminal command
&lt;/h3&gt;

&lt;p&gt;You don't really want to rely on double-clicking the GUI every time you want to use MacVim. So, the next step is to add &lt;strong&gt;mvim&lt;/strong&gt;* script to your path. In this way, your machine will know where to find the MacVim executable whenever you run the command &lt;code&gt;mvim&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;The easiest way to do this is to run the command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo ln -s /Applications/MacVim.app/Contents/bin/mvim /usr/local/bin/mvim
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The command above will link the mvim script to &lt;strong&gt;/usr/local/bin/mvim&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wmaQfixO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1-kD3Fpl-OsYgrwPpwuT4RrJVXMblRgsc" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wmaQfixO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1-kD3Fpl-OsYgrwPpwuT4RrJVXMblRgsc" alt="mvim script in /usr/local/bin"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Once you do that, you can use &lt;code&gt;mvim&lt;/code&gt; to run a MacVim shell. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To check if everything was linked correctly, enter &lt;code&gt;/usr/local/bin/mvim&lt;/code&gt; on the command line. It should open up MacVim. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To check that you have the correct version, run: &lt;code&gt;mvim -v&lt;/code&gt;. You should see the latest version you just downloaded (old 8.0.x =&amp;gt; new 8.1.x).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xDI5-ZEH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1aOzwZS5EqB_cTFl10oL4_QCpE3Zdm66o" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xDI5-ZEH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://drive.google.com/uc%3Fexport%3Dview%26id%3D1aOzwZS5EqB_cTFl10oL4_QCpE3Zdm66o" alt="newer macvim version"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Optional - Make mvim your default vim
&lt;/h3&gt;

&lt;p&gt;Want to use MacVim instead of the older version of Vim on the command line? Follow the steps below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you already have a &lt;strong&gt;.bash_profile&lt;/strong&gt; open it using the command &lt;code&gt;&amp;lt;bash_profile_path&amp;gt;; open .bash_profile;&lt;/code&gt;. &lt;/li&gt;
&lt;li&gt;For example, my &lt;strong&gt;.bash_profile&lt;/strong&gt; is located at my &lt;strong&gt;Users/&lt;/strong&gt; directory so I run the command &lt;code&gt;cd Users/&amp;lt;user_name&amp;gt;; open .bash_profile;&lt;/code&gt;. &lt;/li&gt;
&lt;li&gt;This will open the .bash_profile text file. Add the alias below:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# ----------------------
# MacVim alias
# ----------------------
# use mvim as a default text editor, assuming you already have mvim installed
alias vim="mvim -v" 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you don't know your &lt;strong&gt;&lt;code&gt;&amp;lt;user_name&amp;gt;&lt;/code&gt;&lt;/strong&gt;, run &lt;code&gt;whoami&lt;/code&gt; on the command line. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Viola! You're all set. Check the &lt;code&gt;vim -v&lt;/code&gt;and see an updated version of Vim. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Note:&lt;/strong&gt; You need to open a new terminal shell or restart your terminal to see any of changes you've made applied to the shell. &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Troubleshooting
&lt;/h2&gt;

&lt;p&gt;Having trouble? Google it! StackOverflow will give you a clue how to debug. Or you can use some of the resources below. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.vim.org"&gt;Vim Homepage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/macvim-dev/macvim/wiki/FAQ"&gt;MacVim FAQ&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I hope this helps someone! This is the first part of the series "Building a Docker Project Using Vim". Stay tuned for more!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>vim</category>
    </item>
  </channel>
</rss>
