Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Installing and Configuring Oh My Zsh on Ubuntu 24.04.1 LTS #480

Open
Andresutro opened this issue Jan 3, 2025 · 0 comments
Open

Comments

@Andresutro
Copy link

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:

  1. Install Ubuntu 24.04.1 LTS.
  2. Follow the setup instructions to install Oh My Zsh.
  3. Run the command chsh -s /bin/zsh.
  4. Restart the terminal and observe that Bash is still the default shell.

Temporary Solution I Found:

  1. In the terminal (using Bash), go to Terminal Preferences.
  2. Select the default profile.
  3. Enable the option: "Run a custom command instead of my shell".
  4. In the "Custom command" field, enter: zsh.
  5. In the terminal, run the command: chsh -s $(which zsh).
  6. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant