File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # Bash scripts
2+ Bash scripting used in Finanssoreal Org.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ " $EUID " -ne 0 ]; then
4+ echo " Please run as root"
5+ exit
6+ fi
7+
8+ # Upgrade packages
9+ apt update && apt upgrade -y
10+
11+ # Install base apps
12+ apt install -y \
13+ zsh curl wget bat \
14+ build-essential git gh \
15+ fd-find ripgrep zoxide \
16+ zip unzip
17+
18+ # === Install non apt packages ===
19+ # 1.) Neovim
20+ curl -L " https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz" | tar xzf - -C /opt/
21+ ln -sf /opt/nvim-linux64/bin/nvim /usr/local/bin/nvim
22+
23+ # 2.) Lazygit
24+ LAZYGIT_VERSION=$( curl -s " https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po ' "tag_name": "v\K[^"]*' )
25+ curl -L " https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION} _Linux_x86_64.tar.gz" | tar xzf - -C /usr/local/bin/
26+
27+ # 3.) Starship
28+ curl -fsSL https://starship.rs/install.sh | sh -s -- --yes
29+
30+ # 4.) Gitmoji
31+ npm i -g gitmoji-cli
You can’t perform that action at this time.
0 commit comments