From 54283732c17dcdecff53a602a7a37d7141b473ec Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Tue, 14 May 2024 16:44:36 -0400 Subject: [PATCH] multiple systems --- arch_setup.sh | 27 +++++++++++++++++++++++++++ setup.sh => debian_setup.sh | 0 home/config/nvim/lazy-lock.json | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100755 arch_setup.sh rename setup.sh => debian_setup.sh (100%) diff --git a/arch_setup.sh b/arch_setup.sh new file mode 100755 index 0000000..c175f9f --- /dev/null +++ b/arch_setup.sh @@ -0,0 +1,27 @@ + +#!/bin/bash + +USER=tyrel +HOME=/home/tyrel + +curl https://sh.rustup.rs -sSf | sh + +sudo curl https://pyenv.run | bash + +ln -s $(pwd)/home/config/nvim /home/$USER/.config/nvim +ln -s $(pwd)/home/gitconfig /home/$USER/.gitconfig +ln -s $(pwd)/home/shell_aliases /home/$USER/.shell_aliases +ln -s $(pwd)/home/shell_funcs /home/$USER/.shell_funcs +ln -s $(pwd)/home/zshrc /home/$USER/.zshrc + +echo 'export PYENV_ROOT="/home/$USER/.pyenv"' >> /home/$USER/.bashrc +echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> /home/$USER/.bashrc +echo 'eval "$(pyenv init -)"' >> /home/$USER/.bashrc + +export PYENV_ROOT="$HOME/.pyenv" +[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init -)" + +pyenv install 3.12.3 +pyenv global 3.12.3 +pip install neovim diff --git a/setup.sh b/debian_setup.sh similarity index 100% rename from setup.sh rename to debian_setup.sh diff --git a/home/config/nvim/lazy-lock.json b/home/config/nvim/lazy-lock.json index 1f12017..57d394d 100644 --- a/home/config/nvim/lazy-lock.json +++ b/home/config/nvim/lazy-lock.json @@ -11,7 +11,7 @@ "fzf.vim": { "branch": "master", "commit": "1e054c1d075d87903647db9320116d360eb8b024" }, "indent-blankline.nvim": { "branch": "master", "commit": "29be0919b91fb59eca9e90690d76014233392bef" }, "jellybeans.vim": { "branch": "master", "commit": "ef83bf4dc8b3eacffc97bf5c96ab2581b415c9fa" }, - "lazy.nvim": { "branch": "main", "commit": "bef521ac89c8d423f9d092e37b58e8af0c099309" }, + "lazy.nvim": { "branch": "main", "commit": "758bb5de98b805acc5eeed8cdc8ac7f0bc4b0b86" }, "logstash.vim": { "branch": "master", "commit": "531fe079e8c964d2b5786bcb5871c72f966adc2a" }, "lualine-lsp-progress": { "branch": "master", "commit": "56842d097245a08d77912edf5f2a69ba29f275d7" }, "lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },