-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·43 lines (32 loc) · 1.1 KB
/
Copy pathsetup.sh
File metadata and controls
executable file
·43 lines (32 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env bash
if ! command -v brew &> /dev/null
then
echo "Installing Homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
# eval brew to add to path
brew install gh
echo "Logging in with Github"
gh auth login
echo "Installing Brew Bundle"
brew bundle --file="./Brewfile"
echo "Using fish shell"
which fish | sudo tee -a /etc/shells
chsh -s "$(which fish)"
echo "Setting up asdf"
asdf plugin list all
asdf plugin-add direnv
asdf direnv setup --shell fish --version system
echo "Installing language servers for JS"
yarn global add vscode-langservers-extracted typescript-language-server typescript
echo "Applying config settings"
git config --global core.excludesFile "$HOME/.config/git/ignore"
bash defaults.osx
# if [[ ! -d "${HOME}/.config" ]]; then
# mkdir ~/.config
ln -s ~/.config/hammerspoon/ ~/.hammerspoon
ln -s ~/.config/asdf/config ~/.asdfrc
ln -s ~/.config/rdbg/rdbgrc.rb ~/.rdbgrc.rb
ln -s ~/.config/DefaultKeyBinding.dict ~/Library/KeyBindings/DefaultKeyBinding.dict
# fi
echo "Install: https://github.com/KoffeinFlummi/htop-vim"