Shortened some file names
This commit is contained in:
29
.config/yadm/bootstrap##os.Linux,f.arch
Executable file
29
.config/yadm/bootstrap##os.Linux,f.arch
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Installing paru dependencies"
|
||||
sudo pacman -S base-devel git --needed --noconfirm
|
||||
|
||||
if ! command -v paru &>/dev/null; then
|
||||
echo "Installing paru..."
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
|
||||
git clone https://aur.archlinux.org/paru.git $TEMP_DIR/paru
|
||||
cd $TEMP_DIR/paru
|
||||
|
||||
makepkg -si --noconfirm
|
||||
fi
|
||||
|
||||
echo "Installing packages"
|
||||
sudo -v
|
||||
paru -S --noconfirm --needed - <$HOME/.config/yadm/data/packages.txt
|
||||
|
||||
echo "Changing default shell"
|
||||
sudo chsh -s /bin/fish $USER
|
||||
|
||||
echo "Setting default git branch to \"main\""
|
||||
git config --global init.defaultBranch main
|
||||
|
||||
echo "Applying arrpc fix"
|
||||
sudo cp /usr/lib/systemd/user/arrpc.service /etc/systemd/system/arrpc.service
|
||||
sudo systemctl enable arrpc --now
|
||||
|
||||
Reference in New Issue
Block a user