-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_once_before_install-packages.sh.tmpl
96 lines (72 loc) · 2.14 KB
/
run_once_before_install-packages.sh.tmpl
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
93
94
95
96
{{ if eq .chezmoi.os "linux" -}}
#!/bin/sh
#battery charge limit
echo 80 | sudo tee /sys/class/power_supply/macsmc-battery/charge_control_end_threshold
sudo dnf install -y dnf5
sudo dnf install -y firefox
# korean support
sudo dnf install -y fcitx5 fcitx5-hangul
sudo dnf install -y glibc-langpack-ko
localectl set-locale LANG-ko_KR.UTF-8
#asdf
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1
#lazygit
sudo dnf copr enable atim/lazygit -y
sudo dnf5 install -y lazygit
sudo dnf copr enable -y wezfurlong/wezterm-nightly
sudo dnf5 install -y wezterm
sudo dnf copr enable -y agriffis/neovim-nightly
sudo dnf5 install -y neovim
#rust install
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
sudo dnf5 install -y openssl-devel pkg-config
cargo install nu
sudo dnf copr enable -y atim/starship
sudo dnf5 install -y starship
sudo dnf copr enable -y atim/zoxide
sudo dnf5 install -y zoxide
sudo dnf copr enable architektapx/zen-browser
sudo dnf install zen-browser-twilight
#flatpak
sudo dnf5 install -y flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
#bat
sudo dnf5 install -y bat
#exa
sudo dnf5 install -y eza
#elixir
sudo dnf5 install -y erlang
sudo dnf5 install -y elixir
#asdf plugin-add erlang
#asdf install erlang latest
#asdf global-erlang latest
#asdf plugin add elixir
#asdf install elixir latest
#asdf global elixir latest
#nodejs
asdf plugin-add nodejs
asdf install nodejs latest
asdf global nodejs latest
#lastpass
sudo dnf5 install -y lastpass-cli
#awscli
sudo dnf5 install -y awscli
#lpass
sudo dnf5 install -y lastpass-cli
{{ else if eq .chezmoi.os "darwin" -}}
#!/bin/sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
#asdf
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1
#nodejs
asdf plugin-add nodejs
asdf install nodejs latest
asdf global nodejs latest
brew update
brew install awscli
brew install lastpass-cli
{{ end -}}
lpass login inust33@gmail.com