prep improvements

master
Dominik Madarász 2024-05-22 01:44:26 +02:00
parent 5818d5ec4d
commit 232eeb0368
5 changed files with 10 additions and 8 deletions

View File

@ -105,8 +105,8 @@ if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases . ~/.bash_aliases
fi fi
if [ -f ~/.zakrc ]; then if [ -f ~/.bash_secrets ]; then
. ~/.zakrc . ~/.bash_secrets
fi fi
# enable programmable completion features (you don't need to enable # enable programmable completion features (you don't need to enable
@ -127,3 +127,5 @@ export NVM_DIR="$HOME/.nvm"
export KUBECONFIG=$HOME/kubeconfig export KUBECONFIG=$HOME/kubeconfig
export PATH="$PATH:$HOME:$HOME/bin:$HOME/.local/bin:/usr/local/go/bin:/usr/local/bin"

View File

@ -1 +0,0 @@

View File

@ -3,9 +3,9 @@
git clone --recursive --depth=1 --branch v0.9.5 https://github.com/neovim/neovim.git build-neovim git clone --recursive --depth=1 --branch v0.9.5 https://github.com/neovim/neovim.git build-neovim
cd build-neovim cd build-neovim
rm -rf build rm -rf build
make CMAKE_BUILD_TYPE=Release -j8 sudo make CMAKE_BUILD_TYPE=Release -j$(nproc)
sudo make install sudo make install
cd .. cd ..
rm -rf build-neovim sudo rm -rf build-neovim

View File

@ -8,7 +8,7 @@
"copilot-cmp": { "branch": "master", "commit": "72fbaa03695779f8349be3ac54fa8bd77eed3ee3" }, "copilot-cmp": { "branch": "master", "commit": "72fbaa03695779f8349be3ac54fa8bd77eed3ee3" },
"copilot.lua": { "branch": "master", "commit": "f7612f5af4a7d7615babf43ab1e67a2d790c13a6" }, "copilot.lua": { "branch": "master", "commit": "f7612f5af4a7d7615babf43ab1e67a2d790c13a6" },
"harpoon": { "branch": "master", "commit": "ccae1b9bec717ae284906b0bf83d720e59d12b91" }, "harpoon": { "branch": "master", "commit": "ccae1b9bec717ae284906b0bf83d720e59d12b91" },
"lazy.nvim": { "branch": "main", "commit": "758bb5de98b805acc5eeed8cdc8ac7f0bc4b0b86" }, "lazy.nvim": { "branch": "main", "commit": "8f19915175395680808de529e4220da8dafc0759" },
"lsp-zero.nvim": { "branch": "v3.x", "commit": "f12d50716e8e59ea9f5cf484eac6968c33a95917" }, "lsp-zero.nvim": { "branch": "v3.x", "commit": "f12d50716e8e59ea9f5cf484eac6968c33a95917" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "a4caa0d083aab56f6cd5acf2d42331b74614a585" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "a4caa0d083aab56f6cd5acf2d42331b74614a585" },
"mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" }, "mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" },

5
prep
View File

@ -3,14 +3,15 @@
sudo apt update && sudo apt upgrade -y sudo apt update && sudo apt upgrade -y
sudo apt install -y ripgrep build-essential git cmake fzf stow zsh sudo apt install -y ripgrep build-essential git cmake fzf stow zsh
sudo apt install -y ninja-build gettext unzip curl tmux bc sudo apt install -y ninja-build gettext unzip curl tmux bc
sudo update-alternatives --install /usr/bin/editor editor /usr/local/bin/nvim 1000
sudo update-alternatives --install /usr/bin/vim vim /usr/local/bin/nvim 1000
if ! command -v nvim &> /dev/null if ! command -v nvim &> /dev/null
then then
sh ./build_neovim sh ./build_neovim
fi fi
sudo update-alternatives --install /usr/bin/editor editor /usr/local/bin/nvim 1000
sudo update-alternatives --install /usr/bin/vim vim /usr/local/bin/nvim 1000
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm