You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the installation procedure provided to set up an environment on Ubuntu 24.04.1 LTS on a partition of my PC. However, I encountered an issue when trying to install and configure Oh My Zsh as the default shell.
According to the setup instructions, Oh My Zsh should be configured as the default shell automatically. However, this did not happen in my case. Even after running the command chsh -s /bin/zsh, the shell did not switch to Oh My Zsh, and Bash remained the default shell. I investigated further and found a potential manual workaround, which I will describe below.
Steps to Reproduce the Issue:
Install Ubuntu 24.04.1 LTS.
Follow the setup instructions to install Oh My Zsh.
Run the command chsh -s /bin/zsh.
Restart the terminal and observe that Bash is still the default shell.
Temporary Solution I Found:
In the terminal (using Bash), go to Terminal Preferences.
Select the default profile.
Enable the option: "Run a custom command instead of my shell".
In the "Custom command" field, enter: zsh.
In the terminal, run the command: chsh -s $(which zsh).
Close and reopen the terminal.
This resolved the issue for me, and Oh My Zsh started working correctly.
Is this behavior expected on Ubuntu 24.04.1 LTS?
Should an additional step be included in the setup documentation to prevent this issue?
If this problem was caused by a mistake on my part, I would appreciate guidance on how to properly configure the shell.
I hope this information is helpful and contributes to improving the installation experience.
Thank you for your attention.
The text was updated successfully, but these errors were encountered:
Hello everyone,
I am following the installation procedure provided to set up an environment on Ubuntu 24.04.1 LTS on a partition of my PC. However, I encountered an issue when trying to install and configure Oh My Zsh as the default shell.
According to the setup instructions, Oh My Zsh should be configured as the default shell automatically. However, this did not happen in my case. Even after running the command
chsh -s /bin/zsh
, the shell did not switch to Oh My Zsh, and Bash remained the default shell. I investigated further and found a potential manual workaround, which I will describe below.Steps to Reproduce the Issue:
chsh -s /bin/zsh
.Temporary Solution I Found:
zsh
.chsh -s $(which zsh)
.This resolved the issue for me, and Oh My Zsh started working correctly.
I hope this information is helpful and contributes to improving the installation experience.
Thank you for your attention.
The text was updated successfully, but these errors were encountered: