Zsh config like fish

Simply clone this repository and source the script:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
Then, enable syntax highlighting in the current interactive shell:add to ~.zshrc at end.
source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
Add the plugin to the list of plugins for Oh My Zsh to load:add to ~.zshrc at end.
source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh

zsh-syntax-highlighting is in the repos:

$ pacman -Ss zsh high
community/zsh-syntax-highlighting 0.6.0-1 [installed]
    Fish shell like syntax highlighting for Zsh

Or, you can use the manjaro-zsh-config package for a nice zsh setup.

So what is the point of this post?

It seems to be a modification of this:

1 Like

Forum kindly sponsored by