dracula / zsh

πŸ§›πŸ»β€β™‚οΈ Dark theme for ZSH
https://draculatheme.com/zsh
MIT License
267 stars 70 forks source link

Instructions need to be updated for manual install #11

Closed toymachiner62 closed 4 years ago

toymachiner62 commented 5 years ago

I tried following your instructions from [here]() for manually installing the dracula theme, but when followed exactly, you get this error:

Last login: Tue Jul  9 14:33:21 on ttys001
/Users/tomcaflisch/.oh-my-zsh/themes/dracula.zsh-theme:source:15: no such file or directory: /Users/tomcaflisch/.oh-my-zsh/themes/lib/async.zsh
/Users/tomcaflisch/.oh-my-zsh/themes/dracula.zsh-theme:18: command not found: async_init
dracula_git_async:1: command not found: async_start_worker                                                                                  
dracula_git_async:2: command not found: async_register_callback
dracula_git_async:3: command not found: async_job
➜ ~ 

I figured out that I also needed to copy the /lib folder into my $OH_MY_ZSH/themes/ folder as well.

I'd submit a PR, but not sure where the repo/branch is for https://draculatheme.com/zsh/

Glennmen commented 5 years ago

You can find the install pages here if you still want to make a PR: https://github.com/dracula/dracula.github.io

toymachiner62 commented 5 years ago

PR submitted.

yzgyyang commented 4 years ago

+1 also encountered this error. Please merge the PR, thanks!

avalonwilliams commented 4 years ago

Unfortunately I cannot merge the PR to the documentation repository, however I have reveiwed the PR, so hopefully that will help this along

dinhlongviolin1 commented 4 years ago

Thank alot, finally got it to work πŸ‘

hacknug commented 4 years ago

I'm leaving this open to make sure everyone finds the issue.

I've merged the PR but right now the site can't be re-built and it might take a while until we fix it (I already talked to Zeno about this and we'll probably fix it soon-ishβ„’).

ribeirojose commented 4 years ago

The instructions are still not up to date at https://draculatheme.com/zsh/, and I couldn't find if this site is generated using an open-source repo. Should I create a new issue?

hacknug commented 4 years ago

@ribeirojose I literally answered to your question in the previous comment haha

ribeirojose commented 4 years ago

Ops. Sorry about that!

zrfrank commented 4 years ago

Also for oh-my-zsh, manually, its easier if you clone the theme into&as ~/.oh-my-zsh/custom/theme/dracula. Then in .zshrc set ZSH_THEME="dracula/dracula"

avalonwilliams commented 4 years ago

The site is finally updated with the correct information. I am closing this issue now.

icebarf commented 2 years ago

Commenting here as the issue seems to be still present. Dated 11/13/21.

Getting the same errors as mentioned above.

/home/icebarf/.oh-my-zsh/themes/dracula.zsh-theme:source:15: no such file or directory: /home/icebarf/.oh-my-zsh/themes/lib/async.zsh
/home/icebarf/.oh-my-zsh/themes/dracula.zsh-theme:18: command not found: async_init
dracula_git_async:1: command not found: async_start_worker
dracula_git_async:2: command not found: async_register_callback
dracula_git_async:3: command not found: async_job
themegabyte commented 1 year ago

Quickest fix I saw was:

cd $ZSH_CUSTOM/themes
git clone https://github.com/dracula/zsh.git

in ~/.zshrc

ZSH_THEME="dracula/dracula"

Thank you @zrfrank

ronnyandre commented 1 year ago

I got error [oh-my-zsh] theme 'dracula/dracula' not found, so for the ones trying @themegabyte solution above, do this:

cd $ZSH_CUSTOM/themes
git clone https://github.com/dracula/zsh.git dracula
Arokota commented 1 year ago

I also found this issue after the website installation instructions failed and generated similar errors to the previous comments. @themegabyte's solution solved my problem for anyone else that finds this,

fhoekstra commented 1 year ago

Thanks for your instructions @themegabyte @ronnyandre !

I've put in an attempt to get these instructions onto the site: https://github.com/dracula/draculatheme.com/pull/251