From 051c0ee336019fa7761beae63c6643b57ff9ca4c Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Mon, 1 Feb 2021 14:50:47 +0400
Subject: [PATCH] Updated .zshrc, added dependencies.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 dotfiles/.zshrc | 3 +++
 install.sh      | 3 ++-
 pacman.deps     | 9 ++++++---
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc
index 420c54b..df64dc9 100644
--- a/dotfiles/.zshrc
+++ b/dotfiles/.zshrc
@@ -132,3 +132,6 @@ compinit
 
 autoload -U +X bashcompinit && bashcompinit
 complete -o nospace -C /usr/bin/terraform terraform
+eval "$(pyenv init -)"
+source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
diff --git a/install.sh b/install.sh
index b371dd7..f8a1e86 100644
--- a/install.sh
+++ b/install.sh
@@ -57,7 +57,7 @@ function copy_dotfiles(){
 
 # Update local branches.
 function update_repo(){
-for remote in `git branch -r | grep -v '\->'`; do
+for remote in $(git branch -r | grep -v '\->'); do
 	git branch --track "${remote#origin/}" "$remote"
 done
 }
@@ -66,6 +66,7 @@ function main(){
   # shellcheck disable=SC2046
   sudo pacman -Syu --needed $(cat ./pacman.deps)
   # Install all fonts.
+  # shellcheck disable=SC2046
   pacman -Syu $(sudo pacman -Ssq "ttf-")
   build_libs_from_sources
   # shellcheck disable=SC2046
diff --git a/pacman.deps b/pacman.deps
index 7356cc8..b099684 100644
--- a/pacman.deps
+++ b/pacman.deps
@@ -1,3 +1,4 @@
+acpi
 alsa-utils
 asp
 base-devel
@@ -7,6 +8,7 @@ dunst
 firefox
 gnome-keyring 
 gobject-introspection
+konsole
 libsecret
 lsd
 maim
@@ -22,11 +24,12 @@ ttf-font-awesome
 ttf-ubuntu-font-family
 unclutter
 vim
+xclip
 xdg-utils
 xorg
-xorg-xinit
 xorg-xclock
+xorg-xinit
 xterm
-xclip
-konsole
 zsh
+zsh-autosuggestions
+zsh-syntax-highlighting
-- 
GitLab