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"))
|
repo_dir=$(readlink -f $(dirname "$0"))
|
||||||
|
|
||||||
link() {
|
link() {
|
||||||
[ -L "~/.config" ] || return 0
|
[ -L "$HOME/.config" ] && return 0
|
||||||
|
|
||||||
for file in ".profile" ".zprofile" ".config"; do
|
for file in ".profile" ".zprofile" ".config"; do
|
||||||
ln -sf "$repo_dir/$file" "~/$file"
|
ln -sf "$repo_dir/$file" "$HOME/$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
source ~/.profile
|
source ~/.profile
|
||||||
@ -38,11 +38,9 @@ install() {
|
|||||||
pass \
|
pass \
|
||||||
pass-otp \
|
pass-otp \
|
||||||
playerctl \
|
playerctl \
|
||||||
pulseaudio \
|
|
||||||
python \
|
python \
|
||||||
python-pip \
|
python-pip \
|
||||||
python-neovim \
|
python-neovim \
|
||||||
qt-wayland \
|
|
||||||
rsync \
|
rsync \
|
||||||
slurp \
|
slurp \
|
||||||
sway \
|
sway \
|
||||||
@ -58,7 +56,7 @@ install() {
|
|||||||
zsh-history-substring-search
|
zsh-history-substring-search
|
||||||
|
|
||||||
[ -d "/usr/share/zsh/plugins/fast-syntax-highlighting" ] || sudo git clone \
|
[ -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
|
/usr/share/zsh/plugins/fast-syntax-highlighting
|
||||||
|
|
||||||
[ -d "/usr/share/zsh/plugins/zsh-vim-mode" ] || sudo git clone \
|
[ -d "/usr/share/zsh/plugins/zsh-vim-mode" ] || sudo git clone \
|
||||||
|
Reference in New Issue
Block a user