milihit.blogg.se

Iterm2 bash instead of zsh
Iterm2 bash instead of zsh







iterm2 bash instead of zsh

On my Linux box I'm using Awesome WM, but it's the same principle. Also, tweet me a picture of your terminal setup!

iterm2 bash instead of zsh

If you liked this article and want to read more, I have a weekly newsletter with my favorite links from the week and my latest articles. This lists the folders and files in a directory in a really nice way.

ITERM2 BASH INSTEAD OF ZSH INSTALL

I also enjoy please=sudo, even though I don't personally use it!Īnother bonus utility I have on my computer is tree (which you can install on a Mac with brew install tree).

iterm2 bash instead of zsh

You can also omit "cd" and just type the file name to change from one directory to another - "blog" is equivalent to "cd blog." There are also other aliases built in to do almost anything you could dream of with git. You can keep adding periods and keep moving back in directories. Some built-in ones I rely on especially hard are "." which is an alias for "cd. Yes, I only have two custom aliases however, that is just because so many are built into Oh My Zsh! The first creates random groups of my students for in-class activities and projects. Right now I have it turned on, but it does sometimes annoy me.Įnter fullscreen mode Exit fullscreen mode I am always switching on and off the auto-correct built into Zsh. Also, it shows the amount of time the previous command took to run and the computer battery percentage if it is low! This changes slightly from directory to directory, but its really nice to have this information so accessible, especially compared to how difficult it can be to create something similar in a Bash environment. For example, in the directory for my blog, which is a node app, my git branch, the git status, the package version, and the current Node version display. I use Spaceship which displays a bunch of excellent information. Zsh has awesome themes, which change the appearance of your prompt. I am going to go through some of my settings below. By default, there are a bunch of comments explaining different settings in that file. zshrc file where your customizations are saved. When I refer to Zsh, a lot of the features are actually a part of Oh My Zsh. Oh My Zsh is a framework for managing your Zsh configuration, and it is a must download. The tab completion is much better in Zsh as compared to Bash. That being said, the pros for me far outweigh the cons. Taking this into account, I would only recommend Zsh for experienced shell users! This was a big learning curve at first, but over time I've gotten used to common stumbling blocks and don't have as many problems.

iterm2 bash instead of zsh

There are some pros and cons of using Zsh, the biggest drawback I've found is some difficulty installing certain software. Other than that, most of the "magic" comes from my shell, Zsh!įor my shell, the programming language the command line uses, I use Zsh instead of Bash. I do have some tweaks to the color palette that I use - I think the biggest is that my default font is pink (the forefront color). You can use the shortcut cmd + d for a new pane horizontally, and cmd + shift + d for a new vertical pane. When running many processes at a time, as was required at my old job, I would easily have 10 panes open at a time When I do web development work, I usually have panes open for my server session and for running other commands as necessary. That being said, the feature that makes it a complete must have for me is the split panes. It has some really cool features, like search, autocomplete, and paste history. It's the first thing I get set up on when I get a new computer Unlike my relatively new text editor setup, my terminal configuration has followed me around for years - spanning over multiple jobs and even more computers. As a follow up to my post on my text editor setup, I wanted to write about the other key part of my development setup - my terminal.









Iterm2 bash instead of zsh