-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
48 lines (35 loc) · 1.46 KB
/
setup.sh
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
44
45
46
47
48
#!/bin/sh
OMF_TOOLS=(robbyrussell cbjohnson asdf sdk)
echo "\033[0;34mThe following OMF tools will be installed: \033[37m${OMF_TOOLS[@]}...\033[0m"
for TOOL in "${OMF_TOOLS[@]}"
do
echo "\033[31;1m$TOOL \033[0;34minstalled..."
fish -c "omf install $TOOL"
done
ASDF_PLUGINS=(tmux erlang elixir rebar nodejs rebar rust)
echo "\033[0;34mThe following ASDF plugins will be installed: \033[37m${ASDF_PLUGINS[@]}...\033[0m"
for PLUGIN in "${ASDF_PLUGINS[@]}"
do
echo "\033[0;34mInstalling plugin: \033[37m$PLUGIN...\033[0m"
fish -c "asdf plugin add $PLUGIN"
done
# brew install tools
echo "\033[0;34mInstalling \033[37mcoreutils and more\033[0m"
brew bundle
echo "\033[0;34mGetting \033[37msdkman\033[0m"
curl -s "https://get.sdkman.io" | bash
# echo "\033[0;34mGetting \033[37mCreating postgres user\033[0m"
# createuser -s postgres
echo "\033[0;34mAdding tmux config\033[0m"
ln -s `pwd`/tmux/tmux.conf ~/.tmux.conf
echo "\033[0;34mAdding gitconfig config\033[0m"
ln -s `pwd`/git/gitconfig ~/.gitconfig
echo "\033[0;34mAdding git_alias for fish \033[0m"
ln -s `pwd`/fish/conf.d/git_alias.fish ~/.config/fish/conf.d/
echo "\033[0;34mAdding config.fish \033[0m"
ln -s `pwd`/fish/config.fish ~/.config/fish/
echo "\033[0;34mInstalling vim configuration\033[0m"
curl -L https://raw.githubusercontent.com/sohjiro/.vim/master/run_config.sh | sh
echo "\033[0;34mAdding vim files config\033[0m"
ln -s `pwd`/vim/config ~/.vim/custom/config
ln -s `pwd`/vim/plugged ~/.vim/custom/plugged