Trick Out Your Terminal in 10 Minutes or Less

You’ll need to do your normal thing for a bit while Z figures out what you like to do and then you’re off to the races.

Let’s say you’re always going to your “Repos” folder.

Typing cd repos from just anywhere will never work.

But now you can just type z repos and jump right to it from anywhere!Sublime TextIf you use Sublime Text as your primary text editor, you can make your life incredibly simple by setting up a Sublime shortcut.

This way, any time you want to open a file with Sublime (or create a new file and open it with Sublime), you can use the command subl.

If you want to create and open a new file called “test.

txt” in Sublime, you’ll typesubl test.

txtThat will open Sublime and create a brand new text file called “test.


”Here’s where I found the easiest way to get this working on a Mac with Zsh.

First make sure you have Sublime Text installed and in your applications folder.

To get it up and running, create a directory at ~/bin by runningmkdir ~/binThen run this:ln -s "/Applications/Sublime Text 2.

app/Contents/SharedSupport/bin/subl" ~/bin/sublNow run this command to add a line to your ~/.

zshrc fileecho 'export PATH=$PATH:$HOME/bin' >> ~/.

zshrcThen set Sublime as your default editor with this line:echo "export EDITOR='subl' -w" >> ~/.

zshrcAfter you restart your terminal, you can test it with this:subl .

That should open Sublime right up for you!Let’s make it prettyWhile there are a ton of themes you can use to modify the appearance of your terminal window, you might want to start simply.

Open iTerm and drop down the iTerm menu to “Preferences.

” A window will pop up with lots of choices.

You can pick the colors you like or use one of the options from the “Color Presets” dropdown menu in the “Colors” tab.

You might want to choose a dark theme or make some other simple color choices.

It’s easy to change the font and the font size under the tab that says “Text.

”You can also import a different theme any time you want.

I’m using Atom for the color scheme, but you have a ton of choices.

Take a look through this GitHub repository for examples.

If you want to install a custom iTerm theme, that’s simple.

Just go to this GitHub repo and then hit either of the icons up at the top to download themes.

(I went with the zip file.

Once you download that file, click it to unzip it.

)Next, go to “Preferences,” click on the “Colors” tab, and click “Import” in the “Color Presets” dropdown menu.

That lets you choose the color scheme you want.

It will open up a finder window.

Go into the “schemes” folder within the folder you downloaded and choose “Atom.

itermcolors” if you want to use the Atom theme and click “Open.

”Now you can choose “Atom” from that dropdown menu!If you want to change your font or font size, go to the tab that says “Text.

” Then click the “Change Font” button to make your changes.

14 point Monaco just looks happy.

You can also easily adjust the transparency of your window.

You might want to keep an eye on something that’s running behind your window.

You might be new to programming and need to make sure you’re carefully following the tutorial you’re working through.

It can be pretty helpful!Just go to the “Window” tab, and adjust the slider under “Transparency:” until you’re happy.

Do what you wanna do.

Never forget: your playground, your rules.

Make your space awesome!.This just cracks the surface of what you can do.

There are practically unlimited ways that you can customize your terminal.

Have some fun!If you come up with a terminal configuration that makes your heart sing, let everyone know about it in the responses below!.As always, reach out any time on LinkedIn @annebonnerdata.

If you’re new to coding, you might also be interested in this article:Getting started with Git and GitHub: the complete beginner’s guideGit and GitHub basics for the curious and completely confused (plus the easiest way to contribute to your first open…towardsdatascience.

comThanks for reading!.

. More details

Leave a Reply