Where settings are saved on MacOS and how to change from zsh to bash #713

Open
opened 2022-04-08 12:21:41 +02:00 by fcostarodrigo · 2 comments
fcostarodrigo commented 2022-04-08 12:21:41 +02:00 (Migrated from github.com)

In the other terminals I just put the path to bash /usr/local/bin/bash. I tried to do that in the custom start command but that didn't work. Then I tried a different command and now the program quits after opening it.

Where is the settings stored in MacOS for me to revert them and what would be the correct command to use bash instead of zsh?

In the other terminals I just put the path to bash `/usr/local/bin/bash`. I tried to do that in the custom start command but that didn't work. Then I tried a different command and now the program quits after opening it. Where is the settings stored in MacOS for me to revert them and what would be the correct command to use bash instead of zsh?
NateEag commented 2022-04-12 15:17:01 +02:00 (Migrated from github.com)

On my Big Sur machine, the settings appear to be stored in a sqlite database at ~/Library/Application\ Support/cool-retro-term/cool-retro-term/QML/OfflineStorage/Databases/27e743fe85b8912a46804fed99e8a9ab.sqlite.

Maybe try moving any .sqlite file in that directory and see if a new one gets created on app start?

On my Big Sur machine, the settings appear to be stored in a sqlite database at `~/Library/Application\ Support/cool-retro-term/cool-retro-term/QML/OfflineStorage/Databases/27e743fe85b8912a46804fed99e8a9ab.sqlite`. Maybe try moving any `.sqlite` file in that directory and see if a new one gets created on app start?
NateEag commented 2022-04-12 15:31:45 +02:00 (Migrated from github.com)

To set a custom shell, the standard method is to run sudo chsh -s <path/to/shell> from within your current shell.

I run a non-standard bash, but it looks like the default install on Big Sur is at /bin/bash.

So, I believe sudo chsh -s /bin/bash should get you running bash across the board in OS X terminals.

Note that at least on Big Sur, bash is seriously out of date. If you want a recent bash, you may want to install your own version, maybe with Homebrew or Nix.

To set a custom shell, the standard method is to run `sudo chsh -s <path/to/shell>` from within your current shell. I run a non-standard bash, but it looks like the default install on Big Sur is at `/bin/bash`. So, I believe `sudo chsh -s /bin/bash` should get you running bash across the board in OS X terminals. Note that at least on Big Sur, bash is seriously out of date. If you want a recent bash, you may want to install your own version, maybe with [Homebrew](https://brew.sh/) or [Nix](https://nixos.org/).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#713
No description provided.