31 lines
907 B
Bash
Executable File
31 lines
907 B
Bash
Executable File
#! /bin/sh
|
|
#
|
|
# setup_mac.sh
|
|
# Copyright (C) 2022 fabian <fabian@FordPrefect.home>
|
|
#
|
|
# Distributed under terms of the MIT license.
|
|
#
|
|
|
|
brew install neovim tmux alacritty coreutils
|
|
pip3 install neovim
|
|
echo For alacritty to work seemlessly with tmux, we will have to add '/usr/local/bin'\
|
|
to the path. This will require your root password.
|
|
sudo launchctl config user path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
|
|
cp $PWD/nvim/scheme.vim.template $PWD/nvim/scheme.vim
|
|
cp $PWD/.config/alacritty/schemes.yml.template $PWD/.config/alacritty/schemes.yml
|
|
./clone_and_link_mac.sh
|
|
|
|
for filename in zsh/.*_mac.example; do
|
|
cp $filename ${filename:0:-12}
|
|
done
|
|
|
|
for filename in tmux/.*_mac.example; do
|
|
cp $filename ${filename:0:-12}
|
|
done
|
|
|
|
for filename in vim/.*_mac.example; do
|
|
cp $filename ${filename:0:-12}
|
|
done
|
|
|
|
echo "You should now start tmux (and zsh) and nvim for automatic plugin installation."
|