-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup_env.sh
executable file
·93 lines (70 loc) · 1.79 KB
/
setup_env.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/bin/bash
# GOAL: Upstream ASAP
# minimal packages via OS;
# Fedora and MacOs
# Assume Fedora, with the unique diff
# to build-from source for brew
#
# Apps packages handled by brew
#
# 1. Fedora
# 2. Brew Common
# 3. Configs
# 4. MacOs Only
# Fedora
# Fedora 39 ?
dnf copr enable rpmsoftwaremanagement/dnf5-unstable ;
sudo dnf groupinstall "Development Tools"
sudo dnf install dnf5 dnf5-plugins # Fedora 39 ?
sudo dnf5 upgrade --refresh -y
# firefox-dev as firefox-aurora
sudo dnf5 copr enable the4runner/firefox-dev
# require for brew
sudo dnf5 install procps-ng curl file git -y
# require for chsh
sudo dnf5 install util-linux-user -y
# Fedora Nvidia Driver
dnf5 install dnf-plugins-core -y
dnf5 copr enable t0xic0der/nvidia-auto-installer-for-fedora -y
dnf5 install nvautoinstall -y
# compile for linux ? Better performance ?
sudo dnf5 install -y \
zsh \
alacritty \
tmux \
python3
# Brew
# ----
# ide
brew install -s bat fzf nvim
# web
brew tap oven-sh/bun
brew install -s bun pnpm hugo typescript node nvm
brew install charmbracelet/tap/mods
# firefox-developer-edition
brew tap homebrew/cask-versions
brew install --cask firefox-developer-edition
# aws
brew install -s awscli aws-nuke aws-amplify cloud-nuke
# python
brew install -s poetry
# speedtest
brew tap teamookla/speedtest
brew install speedtest --force
# devtools # optional
# brew install -s istioctl kubernetes-cli minikube
# install omz and configure it
# ./install_omz.sh
# ./install_zshrc.sh
# brew config
# autocompletation
compinit
chmod -R go-w "$(brew --prefix)/share"
pip install virtualenvwrapper
python3 -m pip install --user --upgrade pynvim
# install p10k
# configure tmux
# MacOs only
brew install --cask macs-fan-control --cask rectangle
echo "Next steps"
echo " # Configure the alacritty config file"