fix a few bugs in install script

This commit is contained in:
2026-01-18 22:46:44 -06:00
parent 31df4437ae
commit 83a97e2a36
2 changed files with 8 additions and 7 deletions

View File

@@ -9,17 +9,18 @@ sudo apt update
sudo apt install neovim sudo apt install neovim
# install dependencies # install dependencies
sudo apt install git ripgrep build-essential nodejs npm xclip sudo apt install git ripgrep build-essential nodejs npm xclip -y
sudo npm install -g pyright sudo npm install -g pyright
# clone contents of this repo to ~/.config/nvim/ # clone contents of this repo to ~/.config/nvim/
git clone https://github.com/Jovan-04/neovim-config.git ~/.config/nvim git clone https://github.com/Jovan-04/neovim-config.git ~/.config/nvim
# set up clipboard integrations # set up clipboard integrations
printf '#!/bin/bash \nxclip -selection clipboard' | tee ~/.local/bin/pbcopy sudo mkdir -p /usr/local/bin
sudo chmod a+x ~/.local/bin/pbcopy sudo printf '#!/bin/bash \nxclip -selection clipboard' | tee /usr/local/bin/pbcopy
printf '#!/bin/bash \nxclip -selection clipboard -o' | tee ~/.local/bin/pbpaste sudo chmod a+x /usr/local/bin/pbcopy
sudo chmod a+x ~/.local/bin/pbpaste sudo printf '#!/bin/bash \nxclip -selection clipboard -o' | tee /usr/local/bin/pbpaste
sudo chmod a+x /usr/local/bin/pbpaste
``` ```
don't forget to set up an `alias nv='nvim'` don't forget to set up an `alias nv='nvim'`

View File

@@ -1,5 +1,5 @@
{ {
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
"nvim-lspconfig": { "branch": "master", "commit": "e0fae251f8459940331960106d4bd9457cec23de" }, "nvim-lspconfig": { "branch": "master", "commit": "e0fae251f8459940331960106d4bd9457cec23de" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" } "nvim-treesitter": { "branch": "main", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }
} }