dracula / powerlevel10k

🧛🏻‍♂️ Dracula Theme for Powerlevel10k
https://draculatheme.com/powerlevel10k
MIT License
18 stars 8 forks source link

The theme did not change after activation #9

Open zimorodokkk opened 1 year ago

zimorodokkk commented 1 year ago

On my macbook by following the installation instructions After activation errors appeared, I fixed them by specifying my home directory, path to powerlevel10k.zsh-theme and powerlevel10k/powerlevel10k theme, but the dracula theme still did not appear.

Снимок экрана 2022-12-07 в 01 13 42
Carrot404 commented 1 year ago

Anyone solve this problem?

juliana-ribeiro commented 1 year ago

Same. Still not working here. :(

jsonkenyon commented 1 year ago

@Carrot404 @juliana-ribeiro If you are still attempting to get this installed. This is what I did, and it worked.

Install the powerlevel10k theme as per it's directions, run through the configuration. (This will give you the .p10k.zsh in your home driectory)

DO NOT COPY the .zshrc file from this repo. Copy the .p10k.zsh from this repo and replace the original .p10k.zsh.

If you need to revert your .zshrc to the default of oh-my-zsh =>

https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/templates/zshrc.zsh-template

(Keeping in mind that if your .zshrc has already been replaced, you should revert it back to the original if you haven't done so already, before installing the powerlevel10k)

Then you should have something like this:

Screenshot 2023-06-29 at 3 02 27 PM
davidknutsondev commented 1 year ago

@jsonkenyon This fixed it for me. Thank you so much for posting!

TexeiraThiago commented 6 months ago

hi @jsonkenyon your zsh template helped but, when run the command: "cp ./files/.p10k.zsh ~/.p10k.zsh" nothing happend image Am I missing something?

jsonkenyon commented 6 months ago

hi @jsonkenyon your zsh template helped but, when run the command: "cp ./files/.p10k.zsh ~/.p10k.zsh" nothing happend image Am I missing something?

@TexeiraThiago You ran through the configuration and just went with what ever defaults and then overwrote the previous .p10k.zsh file? If you have done that, ensure that once you overwrite the p10k.zsh file, you restart your terminal or run.

source ~/.zshrc or source ~/.p10k.zsh

^^ either of those commands should work, if you source .zshrc or restart your terminal there is a line at the bottom of your .zshrc file.

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

and that will source the file for you.

Running powerlevel10k configuration is an important step, this will update your .zshrc at the top of the file without other modifications to get the theme powerlevel10k basics to work. Then you are just replacing its configuration file that already has the information in the .zshrc to load the new .p10k.zsh

jsonkenyon commented 6 months ago

@TexeiraThiago - Also important to note to have your colorscheme for the terminal set to the Dracula colors, if you don't have that then it will come out as like a blueish color instead of the purple. Make sure you are running Dracula color theme for your terminal

TexeiraThiago commented 6 months ago

@jsonkenyon Thanks man, after following https://draculatheme.com/gnome-terminal the result came out \o/ image