Quantcast
Channel: How can I set my default shell on a Mac, e.g. to Fish? - Stack Overflow
Browsing all 38 articles
Browse latest View live
↧

Answer by Robin ZecKa Ferrari for How to set my default shell on Mac?

This work for me on fresh install of mac osx (sierra): Define current user as owner of shells sudo chown $(whoami) /etc/shells Add Fish to /etc/shells sudo echo /usr/local/bin/fish >> /etc/shells...

View Article


Answer by Bruno Bronosky for How to set my default shell on Mac?

How to get the latest version of bash on modern macOS (tested on Mojave). brew install bash which bash | sudo tee -a /etc/shells chsh -s $(which bash) Then you are ready to get vim style tab completion...

View Article


Answer by SLuck for How to set my default shell on Mac?

In case you are having troubles with the other ways, worked on mac Mojave but should generally work. which fish add the output path to "System Preferences > Users & Groups > right click user,...

View Article

Answer by MagicDude4Eva for How to set my default shell on Mac?

On macOS Mojave I had to do the following (using zsh as an example): brew install zsh sudo sh -c "echo $(which zsh) >> /etc/shells" chsh -s $(which zsh)

View Article

Answer by Tushar Vazirani for How to set my default shell on Mac?

These are applicable to MacOS Sierra 10.12.5 (16F73) and probably some other recent and upcoming versions of MacOS. chsh is not enough to change the default shell. Make sure you press Command+, while...

View Article


Answer by Pankaj for How to set my default shell on Mac?

Open your terminal and press command+, (comma). This will open a preferences window. The first tab is 'General'. Find 'Shells open with' setting and choose 2nd option which needs complete path to the...

View Article

Image may be NSFW.
Clik here to view.

Answer by user391339 for How to set my default shell on Mac?

1. sudo nano /etc/shells 2. add /usr/local/bin/fish to your list of shells 3. chsh -s /usr/local/bin/fish

View Article

Answer by quaintm for How to set my default shell on Mac?

The only thing that worked for me was a combination of all these methods. First I had to add fish to the /etc/shells file Then I ran chsh -s /usr/local/bin/fish Finally, I typed Command+, and added...

View Article


Image may be NSFW.
Clik here to view.

Answer by Paolo Moretti for How to set my default shell on Mac?

From Terminal: Add Fish to /etc/shells, which will require an administrative password: sudo echo /usr/local/bin/fish >> /etc/shells Make Fish your default shell with chsh: chsh -s...

View Article


Answer by holsety for How to set my default shell on Mac?

When in the terminal, open the terminal preferences using Command+,. On the Setting Tab, select one of the themes, and choose the shell tab on the right. You can set the autostart command fish.

View Article

Answer by Lorin Hochstein for How to set my default shell on Mac?

Here's another way to do it: Assuming you installed it with MacPorts, which can be done by doing: sudo port install fish Your shell will be located in /opt/local/bin/fish. You need to tell OSX that...

View Article

Answer by Aif for How to set my default shell on Mac?

You can use chsh to change a user's shell. Run the following code, for instance, to change your shell to Zsh chsh -s /bin/zsh As described in the manpage, and by Lorin, if the shell is not known by the...

View Article

Answer by user23743 for How to set my default shell on Mac?

heimdall:~ leeg$ dscl Entering interactive mode... (type "help" for commands) > cd /Local/Default/Users/ /Local/Default/Users > read <<YOUR_USER>> [...] UserShell: /bin/bash...

View Article


Answer by rejj for How to set my default shell on Mac?

the chsh program will let you change your default shell. It will want the full path to the executable, so if your shell is fish then it will want you to provide the output given when you type which...

View Article

Answer by Gumbo for How to set my default shell on Mac?

Mac OS X: How to change the Terminal shell

View Article


How to set my default shell on Mac?

I do not like to retype fish every time I start terminal. I want fish on by default. How can I set fish shell as my default shell on a Mac?

View Article

Answer by Chavez Harris for How to set my default shell on Mac?

To change your default shell on mac run the following:chsh -s <name-of-shell>List of shells you can choose from are:/bin/bash /bin/csh /bin/dash /bin/ksh /bin/sh /bin/tcsh /bin/zshso if you want...

View Article


Answer by MichaelMoser for How to set my default shell on Mac?

edit .zshrc and change it toexec /bin/bashor to whatever shell you might prefer.Bonus: this doesn't require root access and will work on every version of osx.The only problem is that it doesn't read...

View Article

Answer by Black for How to set my default shell on Mac?

Homebrew on M1 macs should use /opt/homebrew instead of /usr/local.You can check the fish location which fish. For me the fish was in /opt/homebrew/bin/fish which was the location I have added to...

View Article

Answer by Black for How can I set my default shell on a Mac, e.g. to Fish?

Homebrew on M1 Macs should use /opt/homebrew instead of /usr/local.You can check the Fish location which fish. For me, Fish was in /opt/homebrew/bin/fish which was the location I have added to etc/shells.

View Article
Browsing all 38 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>