Fix install script

This commit is contained in:
Jordan Holt 2022-01-02 15:17:58 +00:00
parent 31bf022045
commit 7ccbcf80ba
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -3,10 +3,10 @@
repo_dir=$(readlink -f $(dirname "$0"))
link() {
[ -L "~/.config" ] || return 0
[ -L "$HOME/.config" ] && return 0
for file in ".profile" ".zprofile" ".config"; do
ln -sf "$repo_dir/$file" "~/$file"
ln -sf "$repo_dir/$file" "$HOME/$file"
done
source ~/.profile
@ -38,11 +38,9 @@ install() {
pass \
pass-otp \
playerctl \
pulseaudio \
python \
python-pip \
python-neovim \
qt-wayland \
rsync \
slurp \
sway \
@ -58,7 +56,7 @@ install() {
zsh-history-substring-search
[ -d "/usr/share/zsh/plugins/fast-syntax-highlighting" ] || sudo git clone \
https://github.com/zdharma/fast-syntax-highlighting \
https://github.com/zdharma-continuum/fast-syntax-highlighting \
/usr/share/zsh/plugins/fast-syntax-highlighting
[ -d "/usr/share/zsh/plugins/zsh-vim-mode" ] || sudo git clone \