Hi all I have a quick question. Is it better for my zsh shell to be in /usr/bin/zsh or /bin/zsh. I remember reading that one of them would mess up the whole system since zsh is not posix compliant. I believe that szh shouldn’t be set as the root shell. I now have it in /usr/bin/zsh, is that good? So now when I drop into a root shell I don’t get they autocompletion feature that zsh has. I’d also lose that fancy theme. Does that mean my root shell is still bash? Thanks

  • bionicjoey@lemmy.ca
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    Wherever your distro’s package manager puts it is where it should go. Do not move or mess with the files in /bin or /usr/bin. Their location doesn’t affect anything that you should care about. It is only so the system knows where to find them when working with their packages.

    • donut4ever@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I’m not trying to move any of these two directories, I’m just trying to set the zsh shell as the default and didn’t know which one to choose since there are two.

      • bionicjoey@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        I recommend you read man usermod and particularly the --shell option for that utility

        Edit: also observe how the default shells are stored in /etc/passwd (but don’t manually edit that file!)