Следуйте приведенным здесь инструкциям, чтобы получить доступ и к другим функциям. :https://github.com/abhigenie92/zsh_to_fish
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
~/.zshrc
как plugins = ( [plugins...] zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting)
Примечание :убедитесь, что подсветка синтаксиса zsh --является последней в приведенном выше списке.
~/.zshrc
.ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=white'
source ~/.zshrc
Если вам нравится ответ, подумайте о том, чтобы отметить репозиторий на github.