training.shoppinpal.com
  • Introduction
  • 1. The Ideal Workspace
    • The Perfect Machine
      • For Biz Team
      • For Developers
      • For Designers
    • Setup a machine in the cloud
      • Solution
      • Setup box on Azure
        • Create a machine on Azure
        • Test drive your remote machine
        • Setup Dropbox On Azure
      • Setup box on DigitalOcean
        • Setup UI
        • Shared FileSystem
          • Dropbox
            • Use locally developed node modules in another project
          • sshfs
        • Long Running Sessions
      • Feedback
  • 2. Learning Git
    • Static Code Analysis
  • 3. The Backend
    • Use Containers
    • Setup a loopback project
    • Lockdown
    • Build a better mousetrap
    • The abyss stares back
    • Built-in models
    • Extending built-in models
    • Understanding UserModel
    • Boot Scripts
    • Promises
    • Find roles for current user
    • Loopback Console
    • Current User
  • 4. Multi-tenancy With Loopback
    • What is Multi-Tenancy
    • Architecting with Loopback
    • Define scope for Roles
    • Role Resolvers
    • Access Control For Tenants
    • Better Programming with multi-tenancy
  • 5. The Frontend
    • The Browser
    • Unit Testing
      • Motivation behind this blog
      • How to write a test
      • Karma and Jasmin
      • Writing Tests
    • End-2-End Testing
    • Angular 1.x
    • Angular 2
      • Testing
  • 6. ElasticSearch
    • Better Search with NGram
    • NGram with Elasticsearch
    • Fun with Path Hierarchy Tokenizer
    • Working with Mappings and Analyzers
  • 7. Promises
    • What are Promises
    • Promise Implementations
    • Nuances
    • What should we use
  • 8. Learning Docker
    • Docker Swarm
  • 9. Queues & Workers
    • PHP workers in AWS EBS
    • NodeJS workers in AWS EBS
      • SQS Daemon by AWS
      • SQS Daemon in NodeJS
      • SQS polling by worker
    • Gearman
  • 10. Docker
    • Capabilities
  • Appendix
    • Bug in WebStorm deployments
    • The Perfect Terminal
    • Scalable App Deployment with AWS
    • Chrome Tips & Tricks
    • Host your own Gitbook
    • Gitbook Tips & Tricks
    • How to handle support incidents
    • Dev Resources
    • Debug e2e Tests on CircleCI
    • Logging
    • Authentication Principles
    • Mac
    • nvm
    • Unify testing with npm
      • Debugging Mocha
    • Sequence Diagrams
    • Project Sync via IDE
      • SFTP with WebStorm
      • SFTP with Visual Studio
    • Soft Linking
    • NodeJS Profiling
      • How to find node.js performance optimization killers
    • Setup Packer on Azure
Powered by GitBook
On this page
  • iTerm 2 :
  • ZSH ( Z Shell ):
  • Solarized Color Scheme
  • Meslo Font
  • Agnoster Oh My Zsh Theme
  1. Appendix

The Perfect Terminal

PreviousBug in WebStorm deploymentsNextScalable App Deployment with AWS

Last updated 7 years ago

Being a Mac User, We clearly understand how boring the default terminal shell looks. Today we will be configuring the terminal for mac systems which is both aesthetically pleasing and also extremely useful.

After following this tutorial, the terminal for your mac will look something like this :

As you can see, the color combination definitely looks appealing and it also tells you which branch you are using if you are inside a git repository. So Let's get started !

Note: Steps are documented below the video.

iTerm 2 :

ZSH ( Z Shell ):

Zsh is a shell designed for interactive use though it's also a powerful scripting language.

To install Oh My Zsh ( Zsh Framework), just run below command in your iTerm2 terminal.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Solarized Color Scheme

curl -o ~/Desktop/solarized.itermcolors https://raw.githubusercontent.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors

This will download the latest Solarized Dark Colors scheme to your desktop. You can then open up the iTerm's preferences pane, select Profiles, select the Colors tab and click load presets > import and choose the solarized.itermcolors file from your desktop.

After successfully importing the scheme file, you can pick the theme from same dropdown.

Meslo Font

i'm using the Powerline Meslo Font, which is a really nice and comes with variety of symbols that are used in Zsh prompt. To install Powerline fonts, run the following command :

git clone https://github.com/powerline/fonts.git && cd fonts && ./install.sh

Now From iTerm's preferences pane, click profiles again, go into Text tab and change the font to Meslo LG L Regular For Powerline. You can also play around other Powerline fonts.

Agnoster Oh My Zsh Theme

When you installed Zsh on your system, its .zshrc file which is similar to .profile of your bash shell in mac is created in your users directory. ( ~/.zshrc ). inside this file, change the ZSH_THEME to agnoster. Now you should have a terminal looking similar to the screenshot in the beginning of this tutorial and you can start leveraging the powers of ZSH.

Have fun with your new terminal.

Firstly, download and install . It's a free replacement for the default terminal that comes with your OS X installation. The installation is pretty straightforward.

Visit their for more information.

To get the color scheme just like the one used in this tutorial (), you can run following command :

To improve your productivity even more, you can have a look at this which has some handy aliases for the Zsh, they're really useful.

iTerm2
GitHub page
Solarized
cheatsheet