[SOLVED] zsh-syntax-highlighting

Poetician
Crewman
Posts: 100
Joined: Wed Sep 04, 2019 4:00 pm

[SOLVED] zsh-syntax-highlighting

Post by Poetician »

Followed your video tutorial. Syntax-highlighting not installed activated or nothing. Went to git, followed the instructions, but after I got most of the errors ironed out I'm stumped. Last trick I tried:

Copy/pasted

plugins=( [plugins...] zsh-syntax-highlighting)

in .zshrc below

plugins=(git)

source $ZSH/oh-my-zsh.sh

That reduced the errors to this:

[oh-my-zsh] Random theme '/usr/share/oh-my-zsh//themes/candy.zsh-theme' loaded...
/home/poetician/.zshrc:78: no matches found: [plugins...]

I must be getting close, but I could use a push in the right direction. Is this a skel issue?
Last edited by Poetician on Tue Jan 14, 2020 1:57 pm, edited 2 times in total.
Ryzen 7 2700, 32GB Corsair Dominator 3200, MSI Armor RX-580, ASUS Crosshair Hero VII X470, Sabrent NVMe

User avatar
erikdubois
Captain
Posts: 3338
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [INFO] zsh-syntax-highlighting

Post by erikdubois »

Everything is already installed on ArcoLinux and ArcoLinuxB.

Arch Linux and ArcoLinuxD you are the one responsible of getting the applications.

Here are the packages you need

https://arcolinux.com/changing-your-she ... y-desktop/

You will need also our .zshrc.

Code: Select all

sudo pacman -S arcolinux-zsh-git
or

https://github.com/arcolinux/arcolinux- ... kel/.zshrc
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

Poetician
Crewman
Posts: 100
Joined: Wed Sep 04, 2019 4:00 pm

Re: [INFO] zsh-syntax-highlighting

Post by Poetician »

Which yields the following:

[oh-my-zsh] Random theme '/usr/share/oh-my-zsh//themes/pmcgee.zsh-theme' loaded...
/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh:42: no such file or directory: /usr/share/zsh/plugins/zsh-syntax-highlighting/.version
/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh:43: no such file or directory: /usr/share/zsh/plugins/zsh-syntax-highlighting/.revision-hash
zsh-syntax-highlighting: highlighters directory '/usr/share/zsh/plugins/zsh-syntax-highlighting/highlighters' not found.
zsh-syntax-highlighting: failed loading highlighters, exiting.
Ryzen 7 2700, 32GB Corsair Dominator 3200, MSI Armor RX-580, ASUS Crosshair Hero VII X470, Sabrent NVMe

User avatar
erikdubois
Captain
Posts: 3338
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [INFO] zsh-syntax-highlighting

Post by erikdubois »

Where do you see that?
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

Poetician
Crewman
Posts: 100
Joined: Wed Sep 04, 2019 4:00 pm

Re: [INFO] zsh-syntax-highlighting

Post by Poetician »

Termite
Ryzen 7 2700, 32GB Corsair Dominator 3200, MSI Armor RX-580, ASUS Crosshair Hero VII X470, Sabrent NVMe

User avatar
erikdubois
Captain
Posts: 3338
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [INFO] zsh-syntax-highlighting

Post by erikdubois »

We do not.
You see it alone...

What system are you on?
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

Poetician
Crewman
Posts: 100
Joined: Wed Sep 04, 2019 4:00 pm

Re: [INFO] zsh-syntax-highlighting

Post by Poetician »

-B Xtended i3wm... I think it's B. I've gone through too many installations lol

Incidentally, the aliases now work (they didn't initially) and the highlighting is the only plugin I've installed that's not working.
Ryzen 7 2700, 32GB Corsair Dominator 3200, MSI Armor RX-580, ASUS Crosshair Hero VII X470, Sabrent NVMe

User avatar
erikdubois
Captain
Posts: 3338
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [INFO] zsh-syntax-highlighting

Post by erikdubois »

Success then

Marking SOLVED
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

Poetician
Crewman
Posts: 100
Joined: Wed Sep 04, 2019 4:00 pm

Re: [OPEN] zsh-syntax-highlighting

Post by Poetician »

Not solved at all... I might trash Sway and install i3 on that partition and experiment there.
Last edited by Poetician on Tue Jan 14, 2020 2:17 am, edited 1 time in total.
Ryzen 7 2700, 32GB Corsair Dominator 3200, MSI Armor RX-580, ASUS Crosshair Hero VII X470, Sabrent NVMe

Poetician
Crewman
Posts: 100
Joined: Wed Sep 04, 2019 4:00 pm

Re: [OPEN] zsh-syntax-highlighting

Post by Poetician »

Don't know if this is significant, but nowhere in the installation procedure was ~/.oh-my-zsh created, so I manually created one and copy/pasted from user/share... if I recall.

The .zshrc points to this:

plugins=(git)

source $ZSH/oh-my-zsh.sh

oh-my-zsh.sh is in /usr/share/oh-my-zsh/ https://pastebin.com/u/poetician

Also, cycling through with auto-completion is not enabled/functioning...
Ryzen 7 2700, 32GB Corsair Dominator 3200, MSI Armor RX-580, ASUS Crosshair Hero VII X470, Sabrent NVMe

Post Reply

Return to “Installation of Software (pacman, AUR, ...)”