diff --git a/configure.sh b/configure.sh index 77dfef3..974ecab 100755 --- a/configure.sh +++ b/configure.sh @@ -57,4 +57,5 @@ cp "$START_DIR"/waybar/* $HOME/.config/waybar -r echo "Installing Oh my zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" cp "$START_DIR"/zsh/.zshcr $HOME/.zshrc +git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions chsh -s $(which zsh) diff --git a/zsh/.zshrc b/zsh/.zshrc index 2d85444..a9fa0bf 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -35,3 +35,4 @@ function y() { [ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd" rm -f -- "$tmp" } +source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh