diff --git a/install b/install index 7e25ede..46ef139 100755 --- a/install +++ b/install @@ -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 \