Skip to content

After the grep.zsh refactor update (roughly 6 hrs ago), ohmyzsh now reports error if installed with sudoΒ #8693

Closed
@circlecrystal

Description

Describe the bug
Clean installation of ohmyzsh, then restart the shell...

~/.oh-my-zsh/lib/grep.zsh:22: permission denied: ~/.oh-my-zsh/cache/grep-alias
~/.oh-my-zsh/lib/grep.zsh:source:36: no such file or directory: ~/.oh-my-zsh/cache/grep-alias

To Reproduce
Install ohmyzsh with
sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended

Expected behavior
There should be no error reported (Before the update, installing ohmyzsh with sudo works).

Desktop (please complete the following information):
Ubuntu 18.04LTS

Metadata

Assignees

No one assigned

    Labels

    SupportRequest for support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions