1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

fix: ignore node_modules when linking

This commit is contained in:
Ryan Kes 2020-11-27 06:40:29 +01:00
parent f16edddced
commit c6da54fbb6

View File

@ -98,7 +98,7 @@ if [ ! -h ~/.config/mpv/scripts/mpris.so ]
ln -s /usr/lib/mpv/mpris.so ~/.config/mpv/scripts/mpris.so ln -s /usr/lib/mpv/mpris.so ~/.config/mpv/scripts/mpris.so
end end
for d in (find -- */ -maxdepth 0 -type d | cut -f1 -d '/') for d in (find -- */ -maxdepth 0 -type d | grep -v node_modules | cut -f1 -d '/')
echo "Linking $d..." echo "Linking $d..."
stow -t "$HOME" "$d" stow -t "$HOME" "$d"
end end
@ -135,7 +135,7 @@ if [ ! -d ~/.config/nvim/plugged ]
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
end end
# Install Neovim plugins # Install Neovim plugins
nvim +PlugInstall +qall nvim +PlugInstall +qall
# Install Neovim coc extensions # Install Neovim coc extensions