Fix install script
This commit is contained in:
parent
31bf022045
commit
7ccbcf80ba
8
install
8
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 \
|
||||
|
Reference in New Issue
Block a user