Skip to content

Sourcing /lib/async.zsh fails on nixOS #60

@matthiasdv

Description

@matthiasdv

I just tried installing this theme on a nixOS install. When i run zsh I get:

/home/<user>/.config/oh-my-zsh/themes/dracula.zsh-theme:source:16: no such file or directory: /nix/store/lib/async.zsh

I think this is caused by .zshrc and dracula.zsh-theme being symlinks to a directory that's owned by root. /nix/store in this case.

I solved this by changing this line:

https://github.com/dracula/zsh/blob/master/dracula.zsh-theme#L16C1-L16C30

to:

source ${ZSH_CUSTOM}/themes/lib/async.zsh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions