dotfiles: update scripts
This commit is contained in:
1
Brewfile
1
Brewfile
@@ -22,6 +22,7 @@ brew "redis", restart_service: true
|
||||
brew "ripgrep"
|
||||
brew "speedtest-cli"
|
||||
brew "stow"
|
||||
brew "tree"
|
||||
brew "streamlink"
|
||||
brew "tig"
|
||||
brew "tldr"
|
||||
|
||||
3
symlink.sh
Executable file
3
symlink.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
for dir in $(ls -d */); do stow -Rv ${dir}; done
|
||||
22
sync.sh
22
sync.sh
@@ -1,22 +0,0 @@
|
||||
# xcode-select --install
|
||||
|
||||
if ! [ -x "$(command -v brew)" ]; then
|
||||
echo "==> Found brew"
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
else
|
||||
echo "==> Brew already installed"
|
||||
fi
|
||||
|
||||
echo "==> Brew bundle"
|
||||
brew bundle
|
||||
|
||||
if [ -f ~/.local/share/nvim/site/autoload/plug.vim ]; then
|
||||
echo "==> Found vim-plug"
|
||||
else
|
||||
echo "==> Installing vim-plug"
|
||||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
fi
|
||||
|
||||
echo "==> Symlinking dotfiles"
|
||||
for dir in $(ls -d */); do stow -Rv ${dir}; done
|
||||
Reference in New Issue
Block a user