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

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

Open
matthiasdv opened this issue Aug 1, 2024 · 0 comments · May be fixed by #61
Open

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

matthiasdv opened this issue Aug 1, 2024 · 0 comments · May be fixed by #61

Comments

@matthiasdv
Copy link

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

@matthiasdv matthiasdv linked a pull request Aug 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant