-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell-bootstrap
More file actions
executable file
·77 lines (67 loc) · 1.15 KB
/
Copy pathshell-bootstrap
File metadata and controls
executable file
·77 lines (67 loc) · 1.15 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
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
73
74
75
76
77
#! /bin/bash
if type dnf > /dev/null; then
sudo dnf groupinstall -y 'Development Tools'
sudo dnf install -y \
git \
libxcrypt-compat
fi
if type apt-get > /dev/null; then
sudo apt-get update -y
sudo apt-get install -y \
git \
build-essential \
man
fi
export HOMEBREW_INSTALL_FROM_API=1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# setup homebrew env
brewpaths=( "/home/linuxbrew/.linuxbrew/bin/brew" \
"/usr/local/bin/brew" \
"/opt/homebrew/bin/brew" )
for pth in "${brewpaths[@]}";
do
if [[ -x "$pth" ]]; then
echo found brew at "$pth"
eval "$($pth shellenv)"
break
fi
done
brew install \
antidote \
bat \
chezmoi \
diff-so-fancy \
dos2unix \
entr \
eza \
fd \
file \
fnm \
font-fira-code-nerd-font \
fzf \
gh \
git \
httpie \
hyperfine \
jq \
lazygit \
lf \
parallel \
python \
shellcheck \
sponge \
the_silver_searcher \
tldr \
wget \
zsh \
sschlesier/bombardier/bombardier \
sschlesier/csvutils/csvquote \
sschlesier/csvutils/tabulator
pip3 install \
visidata \
openpyxl \
pylint
# npm install -g \
# log-color-highlight \
# markserv \
# npm-check