
# example ~/.config/starship.toml add_newline = false format = 'via [$'" # starship prompt alias gt = "starship toggle gcloud disabled" # toggle gcloud info on the prompt
CUSTOMIZE ITERM2 INSTALL
To install Starship you can follow the instructions on the documentation homepage Starship comes with sensible defaults, can be configured with a user friendly toml file and comes with a CLI tool that makes updating your prompt on the fly a breeze (more on that later…). Is a highly customisable prompt that is compatible across shells – you can use the same prompt config for no matter if you are using bash, zsh, fish or Powershell as your shell. Is a popular choice, however, I prefer to use Starship
CUSTOMIZE ITERM2 UPDATE
In order to change the theme to one of the inbuilt themes, you just need to update the ZSH_THEME value in your ~/.zshrc and restart your terminal for the changes to take effect.Īlternatively, there are external themes that you can install and use instead of an inbuilt theme.
CUSTOMIZE ITERM2 FULL
A full list can be found in the GitHub Wiki There are a number of other themes that come with oh-my-zsh.
CUSTOMIZE ITERM2 UPGRADE
While it is only the default theme, it is already a great upgrade on the featureless monochrome default zsh prompt.ĭefault theme for oh-my-zsh which shows information about your git repo status I really like this theme’s minimalistic aesthetic and I used it for a long time before migrating to Starship. The default theme for oh-my-zsh is called robbyrussell – named after the creator of oh-my-zsh. Update your font in the iterm2 preferences window 3. You can change your font to the one you just installed by updating your item2 preferences. You can install oh-my-zsh using the following command (full instructions and documentation on their website We will use oh-my-zsh to manage and install plugins for the rest of the terminal setup described in this post. “Oh My Zsh will not make you a 10x developer…but you may feel like one!" It provides easy access to many great plugins which can improve your terminal experience and supercharge your productivity. Is an open source framework for managing your zsh configuration. The MacOS terminal prompt ships with z shell But, for each tool, I will also provide links to documentation with instructions for specific operating systems.

To install most of the plugins and command line tools. In this post I will go through the key oh-my-zsh plugins I use to achieve the above functionality and transform the command line into a productive environment.įor this setup, however, it should be possible to install and configure this setup across operating systems.

But I would consider the following terminal attributes important for boosting productivity: Example terminal setup Key features to enable productivity #Ĭustomising the terminal is a very personal thing.Įveryone has aesthetic preferences and different functional requirements depending on their tech stack. A couple hours tailoring your terminal will pay huge dividends down the line. The key is to invest a little bit of time customising your terminal with plugins. Turning the command line into a powerful tool to supercharge your workflow. Yet, small tweaks to the configuration go a long way to improving the user experience. Who knows whether the command you are typing is correct? No syntax highlighting and no autocompletion to hold your hand. The monochrome UI of the default terminal takes no prisoners. Opening a world of efficiency and automation.īut the command line can be intimidating and unforgiving for the uninitiated. Command line expertise frees you from restrictive GUI tools and endless mouse clicks. Code editing, launching programs, multi-tasking, scripting, system admin and much more. The terminal can be a one-stop-shop for your daily tasks. There is not a more productive or versatile tool for developers to use – the terminal is the swiss-army knife of the developers' tool kit. Why should you use the terminal as a data scientist? #
