-
Notifications
You must be signed in to change notification settings - Fork 0
/
fre.sh
executable file
·72 lines (63 loc) · 1.25 KB
/
fre.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env dash
# FOR A FRESH MAC INSTALL
# TODO: check for linux containers, and install into them
# TODO: add dot-files
# TODO: add new vim installation tasks, lazy vim
# TODO: add post-brew-install tasks, i.e. echoes into zshrc
T=$(date +"%x %r %Z")
arg=$1
brews = (asdf
fish
bat
btop
git
gh
ripgrep
fzf
lf
tldr
helix
neovim)
casks = (warp
visual-studio-code
betterdisplay
soundsource
orbstack
utm
fontbase
numi
spotify
vlc
appcleaner
suspicious-package)
install_brew() {
echo "Getting BREW and some formulae..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Doctor..."
brew doctor
echo "Update 2x..."
brew update && brew update
echo "Installing brews..."
brew install $brews
echo "Installing casks..."
brew install --cask $casks
echo "Installing patched font..."
brew tap homebrew/cask-fonts; \
brew install font-victor-mono-nerd-font
echo "Done brewing."
return
}
get_vim_plug() {
echo "Getting VIMPLUG..."
(curl -fLo $HOME/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim)
return
}
start() {
echo "STARTING [$T]"
get_brew
echo "All done."
echo [$T]
}
# RUN
start
exit $?