#!/bin/bash -e export DEBIAN_FRONTEND=noninteractive pkg=( 7zip bash-completion curl fastfetch fzf git jq manpages openssh pass python ) pkg upgrade -y pkg install -y "${pkg[@]}" # shellcheck disable=SC2174 mkdir -pm 0700 "$HOME/.ssh" curl https://yw5n.com/ssh >> "$HOME/.ssh/authorized_keys" git clone --depth 1 --bare https://git.maby.dev/ange/.dotfiles.git ~/.dotfiles git --git-dir="$HOME/.dotfiles" --work-tree="$HOME" checkout -f git --git-dir="$HOME/.dotfiles" --work-tree="$HOME" config status.showUntrackedFiles no sed '/systemctl/d' "$HOME/.bash_profile" cat <> "$HOME/.bash_profile" gpg-agent #sshd EOF