![]() current git branch name & status (if in a git repo).current version of Node.js (if you are using NVM).There are a few key points about this prompt: This post will show you how to configure your command prompt to look like this: Iterm I get this question a lot when sharing screenshots or doing a presentation and wanted a resource to point people to. In this week’s post I want to share how I set up my terminal on my laptop. My last post I explained why I like using NVM to not only facilitate but manage multiple Node.js installations I am working on a series of posts that aren’t specific to the SharePoint Framework but are tangentially related to the development experience. In spending time with and talking to developers making this jump, I’m finding they are interested in some of the tools and things I use. This style of development leverages popular open source tools built on Node.js and developers more time in the terminal/console than they are used to. To do that, go to you zsh config file( ~/.Many if not most traditional SharePoint developers are new to the dev stack and build tool chain Microsoft selected for SharePoint Framework development. Well this is like a bonus, in my case I wanted that the git branch indicator only shows in status bar, so I had to disable it in spaceship-prompt. ![]() To change the location of the bar, just go to iTerm > Preferences > Appearance, there in General you will see Status bar location, set that to Bottom It's simple just drag and drop the components. There at the bottom, you will find the enabled check and the configuration link, where you can customize which components put on your bar. This is a new super cool ui improvement of iTerm, to enabled it go to iTerm > Preferences > Profiles then in the left sub sections go to Session. You also can customize the icon and session title, to do that, simple go to iTerm > Preferences > Profiles, General and in Basics section going to see the Icon and Title inputs. To change the tabs to be located at left, just go to iTerm > Preferences > Appearance there, in General you will see Tab bar location, set that to Left But we can add some configuration to get here: Ok so now our iTerm should be looking nice. Spaceship is a minimalistic, powerful and extremely customizable Zsh promptįollow the installation options in spaceship-prompt project - spaceship-prompt installation ~/.zshrc here you can control themes and plugins. ![]() So the most important you need to understand about it is his entry configuration file. You can get deeper in oh-my-zsh and their configuration, but this is not the scope of this post. Use the official documentations of Oh-my-zsh to install it - Installing oh-my-zsh Oh My Zsh is an open source, community-driven framework for managing your zsh configuration So the best I can do is share the most complete guide that I found to do it - Installing zsh This is a may pain full step, and this would change depending on your configuration. Zsh is a shell designed for interactive use, although it is also a powerful scripting language To start, we need to download and install iTerm.įollow the steps as a normal application. I just shared a tweet about how my terminal looks and immediately start receiving some questions about how to get there.ĭisclaimer: if you have installed iTerm 3.3.1, zsh, oh-my-zsh and spaceship_prompt jump to configuration section New iTerm2 version 3.3.1 comes with a complete new and good looking features. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |