-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscratch2.sh
More file actions
29 lines (20 loc) · 944 Bytes
/
scratch2.sh
File metadata and controls
29 lines (20 loc) · 944 Bytes
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
#!/bin/sh zsh
# # tmux ls
# keepMe: 1 windows (created Wed Jun 24 14:20:15 2015) [171x41]
# otherSession: 1 windows (created Wed Jun 24 14:22:01 2015) [171x41]
# 3: 1 windows (created Wed Jun 24 14:23:28 2015) [171x41]
# (assuming here that you're on keepMe session)
# # tmux kill-session -t otherSession
# -or-
# # tmux kill-session -t 3
# jammy is Ubuntu
sudo apt-get update
sudo apt-get -y install tmux
sudo apt-get -y install neovim
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
rm lazygit.tar.gz
sudo apt-get -y install
sudo apt-get -y install tmux neovim python3-pip npm nodejs cargo ripgrep lazygit starship fontforge py3-configargparse