Hi Mohammad,

Mohammad Shoriful Islam Ronju wrote:
> https://linuxhint.com/install_zsh_shell_ubuntu_1804/

Ok, according to this tutorial(*) that prompt in your screenshot is
the default prompt from oh-my-zsh -- which doesn't come from any
official Ubuntu repo.

So please disable oh-my-zsh first and see if that fixes the issue
already.

If that doesn't fix the issue, please check if running "zsh -f"
(disables the parsing of .zshrc; call it e.g. from bash) still shows
the issue.

If "zsh -f" shows the issue, there is definitively a bug, either in
zsh or the terminal. (Since zsh seems to start at least and does not
crash, it might also be a terminal issue.)

If "zsh -f" works fine, you need to start commenting lines from your
.zshrc until the issue vanishes. The last line you commented out then
likely caused the issue. If that line is known, one can continue to
figure out why that line causes this issue.

It might also be helpful if you could post the output of
"/usr/share/bug/zsh 3>&1" to see which other packages on your system
provide zsh-sourced files.

Footnotes:

(*) IMHO this tutotal is crap:

    * "whereis" is overkill if you can use "which"
    * The user shoudn't use usermod as root (sudo …) to change a user shell
      but chsh (as you did).
    * There's no need to reboot just to make a change of a user shell
      effective.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1819949

Title:
  ZSH not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1819949/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to