Fix the script for the new university computer
Seriously, they just don't have shit anymore, what the hell...
This commit is contained in:
parent
849213af1c
commit
d3af93561a
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
GIT_DOMAIN=https://git.puffypony.party:4433
|
||||
|
||||
NOW=$(pwd)
|
||||
@ -13,6 +15,15 @@ git config --global core.editor "nvim"
|
||||
git clone $GIT_DOMAIN/Segcolt/kitty-conf $HOME/.config/kitty
|
||||
git clone $GIT_DOMAIN/Segcolt/astronvim-config $HOME/.config/nvim
|
||||
|
||||
# Create .local/bin if it doesn't exist
|
||||
mkdir -p $HOME/.local/bin
|
||||
|
||||
# Download and install curl
|
||||
CURL_VER=8.11.0
|
||||
wget https://github.com/moparisthebest/static-curl/releases/download/v$CURL_VER/curl-amd64
|
||||
mv curl-amd64 $HOME/.local/bin/curl
|
||||
chmod +x $HOME/.local/bin/curl
|
||||
|
||||
# Clone and install Ascii-Pony
|
||||
git clone https://gitlab.com/mattia.basaglia/ASCII-Pony pony
|
||||
make PREFIX=$HOME/.local -C pony install
|
||||
@ -28,9 +39,12 @@ sed -i -e 's/JetBrains Mono/Monocraft Nerd Font/' $HOME/.config/kitty/kitty.conf
|
||||
#Setup flatpak
|
||||
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
# Setup vim appimage
|
||||
# Setup nvim though the appimage
|
||||
chmod +x nvim.appimage
|
||||
mv nvim.appimage $HOME/.local/bin/nvim
|
||||
./nvim.appimage --appimage-extract
|
||||
mv squashfs-root/bin/nvim $HOME/.local/bin
|
||||
chmod +x $HOME/.local/bin/nvim
|
||||
rsync -a squashfs-root/usr/ $HOME/.local/
|
||||
|
||||
# Install clangd
|
||||
readonly CLANGD_VER=19.1.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user