Apple goes from Bash to Zsh, I took it to Fish!

Apple goes from Bash to Zsh, I took it to Fish!

Recently after upgrading to OS X Catalina, I opened up a terminal window. I was greeted with a message saying that the default shell for OS X Catalina is Zsh, and if I wanted to conform to the standard, I should type the command "chsh -s /bin/zsh. I read that this is mostly done as a result of changes in the open source license.

No alt text provided for this image


Personally, I have always been happy with having a $ sign prompt. Usually I don't care if it is on an AT&T Unix PC or a modern day server. The $ prompt makes me feel comfortable, like I'm at home. I even created a custom bash.rc file for OS X to bring in Linux style colors to directory listings.

I had heard of the superiority and virtues of Zsh, as I began using it I found that I quite enjoyed it. I thought to myself "why have I been so resistant?" "This is actually pretty nice!" So what of there is not $ at the end of the prompt. If you can customize it to mimic that look anyway!

Then I thought to myself, Zsh seems to be getting replaced by Fish, if I am going to learn a cool new shell, why don't I learn the latest one!

There are many ways to install Fish on OS X. The following instructions show the process I came up with.

First we will be installing a community supported package manager for OS X known as Homebrew.

Step 1

Open up a terminal window and type in the following command to install Homebrew.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Press enter to continue. You may be asked for your password multiple times.

Step 2

Then type in the following:

brew install zsh

Now we need to make this a valid system shell.

Press enter. Then type in the following:

echo "/usr/local/bin/fish" | sudo tee -a /etc/shells

Press enter. Then type in the following:

chsh -s /usr/local/bin/fish


Step 3

Exit and restart the Terminal completely.

No alt text provided for this image

That's it, your default is now Fish!

#Apple #OSX #Catalina #Zsh #Fish

要查看或添加评论,请登录

Mr Feng的更多文章

  • Wake up Tech Giants

    Wake up Tech Giants

    It is amazing to me how easily we can be trapped by dogma and how hard it is to see or even break this. It seems that…

    1 条评论
  • Lessons from Steve

    Lessons from Steve

    The brilliant innovator Seve Jobs, told us many times and in many different ways, that the consumer does not know what…

    1 条评论
  • 100% Free "Get to the top of LinkedIn" Package!

    100% Free "Get to the top of LinkedIn" Package!

    LinkedIn is a great social network and is filled with staff that understand what a healthy business social network…

    1 条评论
  • Coronavirus protection for Hospital Staff

    Coronavirus protection for Hospital Staff

    Most hospital air sterilization systems are completely ineffective when it comes to germs and microbes that are so…

    1 条评论
  • Emergency Ventilators You Can Make

    Emergency Ventilators You Can Make

    I have designed two different emergency ventilators that people can make in an emergency with easily sourceable parts…

    2 条评论
  • Make your WordPress website faster than Apple.com FREE! - Part 1 the CDN

    Make your WordPress website faster than Apple.com FREE! - Part 1 the CDN

    Is your website loading slowly? In this guide I will teach you step by step how to make your website load faster than…

    2 条评论
  • Some thoughts on Coulomb's law and why zero data loss is possible.

    Some thoughts on Coulomb's law and why zero data loss is possible.

    This is where many say our understanding of electromagnetism began. "Coulomb's law, or Coulomb's inverse-square law, is…

  • IOS 13 - Siri can run SSH Commands!

    IOS 13 - Siri can run SSH Commands!

    After the much welcome public release of IOS 13, I noticed something very interesting in the Siri Shortcuts app, "Run…

  • Hacker deletes an entire business!

    Hacker deletes an entire business!

    That's right every server, backup server, offshore server, and the offshore backup servers were wiped clean! Users…

  • On October 5 2011 We lost someone very special.

    On October 5 2011 We lost someone very special.

    Steve, Thank you for teaching us all that we can be better people by relentlessly striving to improve. The world misses…

社区洞察

其他会员也浏览了