Modules not showing up
MGlolenstine opened this issue · comments
After installing silver using cargo install silver
on my Arch machine and editing of the .zshrc
file, I'm met with this:
$(build_left_prompt) $(build_right_prompt)
$reset_color
Now I'm not sure what went wrong if anything, but I'm slightly lost.
My .zshrc
:
export SILVER=(status:black:white dir:blue:black git:green:black cmdtime:magenta:black)
export SILVER_SHELL=zsh
source <(silver init)
setxkbmap si
setxkbmap -option kpdl:dot
export QT_QPA_PLUGIN="xcb"
export QT_QPA_PLATFORMTHEME="qt5ct"
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/
unsetopt share_history
export PATH="/home/arch/.cargo/bin:"$PATH
export PATH="/home/arch/.local/bin:"$PATH
I'm using Konsole as the terminal application.
Try installing git version with cargo install --git https://github.com/reujab/silver.git
@MinerChAI Sadly no change.
Does the problem persist if you restart Konsole?
It does. Let me try it out with another terminal.
What is your zsh version?
Running zsh --version
returns
zsh 5.8 (x86_64-pc-linux-gnu)
Do other prompts like p10k work for you?
If I comment out "SILVER" lines in the .zshrc, the p9k works fine.
EDIT
I've also disabled oh-my-zsh
to see if that would be causing it, but it's not.
Ok, this was my bad. For some reason Konsole doesn't get rid of ENV variables even after restarting it.
I've opened Termite, disabled Oh-My-ZSH and now it works flawlessly.
Thanks for your help!