diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 420c54b4053deef2bf46fc7b360a4d81599d6cb6..df64dc9834fad5c324e1f09e893b2774040a96f5 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 b371dd7ce4595531fcdc3736b5ffea9a66dc85c3..f8a1e86dfaa4e5de9c6c0d786ade902babc0011f 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 7356cc8abed26f1fad2ef6575a33d9aec81f47ac..b099684e5bf8d77b6ad22eb49b6d366757e867cd 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