Oh My Zsh autosuggestions

How can we help?

Навигация

Установка, https://ohmyz.sh/#install

sudo apt update
sudo apt install curl git zsh -y
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Автодописывание команд, https://github.com/zsh-users/zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

правим

vi .zshrc
#See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell" # меняет тему
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#878787,bg=black" # автодописывание команд цвет и подложка
...
# Add wisely, as too many plugins slow down shell startup.
plugins=(git zsh-autosuggestions) # автодописывание команд

Затем перезапускаем оболочку

source .zshrc