38 lines
909 B
Bash
Executable File
38 lines
909 B
Bash
Executable File
#!/bin/bash
|
|
|
|
sudo apt install \
|
|
git \
|
|
xclip \
|
|
unzip \
|
|
ripgrep \
|
|
fzf \
|
|
fd-find \
|
|
wget \
|
|
golang-go \
|
|
socat \
|
|
-y
|
|
|
|
|
|
curl -s https://ohmyposh.dev/install.sh | bash -s
|
|
|
|
# Install neovim from prebuilt binaries
|
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
|
|
sudo rm -rf /opt/nvim
|
|
sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
|
|
|
|
# Install nvm
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
|
|
|
# Set up ssh-agent from windows
|
|
|
|
cd ~/.config
|
|
rm -rf npiperelay
|
|
git clone https://github.com/jstarks/npiperelay
|
|
go version
|
|
cd npiperelay
|
|
# Build the binary and store it in our Windows C: drive
|
|
go get -d github.com/jstarks/npiperelay
|
|
GOOS=windows go build -o /mnt/c/temp/npiperelay.exe github.com/jstarks/npiperelay
|
|
# Create a symlink to a directory in our PATH
|
|
sudo ln -s /mnt/c/temp/npiperelay.exe /usr/local/bin/npiperelay.exe
|