Files
dotfiles/setup_mac.sh

33 lines
943 B
Bash
Raw Normal View History

2023-06-01 14:32:58 +02:00
#! /bin/zsh
2022-07-06 11:39:50 +02:00
#
# setup_mac.sh
# Copyright (C) 2022 fabian <fabian@FordPrefect.home>
#
# Distributed under terms of the MIT license.
#
2023-06-01 14:32:58 +02:00
brew install neovim tmux alacritty coreutils cmake golang npm
2022-07-06 11:39:50 +02:00
pip3 install neovim
2022-10-07 09:01:35 +02:00
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
2022-07-06 11:39:50 +02:00
./clone_and_link_mac.sh
2022-10-07 09:01:35 +02:00
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
2023-06-01 14:32:58 +02:00
open fonts/*.ttf
2022-10-07 09:01:35 +02:00
echo "You should now start tmux (and zsh) and nvim for automatic plugin installation."