Compare commits
2 Commits
32a8c1260a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 528b82bdaf | |||
| 2a3e0e2e2b |
9
main.sh
9
main.sh
@@ -20,7 +20,7 @@ echo "* install drivers & such" | tee -a todo.md
|
|||||||
|
|
||||||
# Install some apt packages
|
# Install some apt packages
|
||||||
sudo apt-get upgrade -y
|
sudo apt-get upgrade -y
|
||||||
sudo apt-get install -y curl git jq build-essential unzip tree # for development
|
sudo apt-get install -y curl git jq build-essential unzip tree npm # for development
|
||||||
sudo apt-get install -y ripgrep # I honestly don't remember why I installed these
|
sudo apt-get install -y ripgrep # I honestly don't remember why I installed these
|
||||||
|
|
||||||
# Install Python & uv (package/version manager)
|
# Install Python & uv (package/version manager)
|
||||||
@@ -30,7 +30,6 @@ source $HOME/.local/bin/env
|
|||||||
uv python install --default
|
uv python install --default
|
||||||
|
|
||||||
# Node.js 24 (with nvm - https://github.com/nvm-sh/nvm)
|
# Node.js 24 (with nvm - https://github.com/nvm-sh/nvm)
|
||||||
# also required for pyright language server (neovim)
|
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash
|
||||||
\. "$HOME/.nvm/nvm.sh" # in lieu of restarting the shell
|
\. "$HOME/.nvm/nvm.sh" # in lieu of restarting the shell
|
||||||
nvm install 24
|
nvm install 24
|
||||||
@@ -62,9 +61,15 @@ sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
|
|||||||
rm nvim-linux-x86_64.tar.gz
|
rm nvim-linux-x86_64.tar.gz
|
||||||
echo 'export PATH="$PATH:/opt/nvim-linux-x86_64/bin"' | tee -a "$HOME/.bashrc"
|
echo 'export PATH="$PATH:/opt/nvim-linux-x86_64/bin"' | tee -a "$HOME/.bashrc"
|
||||||
|
|
||||||
|
# Neovim config
|
||||||
git clone https://gitea.jovan04.com/evan/neovim-config "$HOME/.config/nvim"
|
git clone https://gitea.jovan04.com/evan/neovim-config "$HOME/.config/nvim"
|
||||||
echo "* install pyright language server (and any other relevant ones)" | tee -a todo.md
|
echo "* install pyright language server (and any other relevant ones)" | tee -a todo.md
|
||||||
|
|
||||||
|
# tree-sitter-cli (neovim syntax highlighting)
|
||||||
|
curl -LO https://github.com/tree-sitter/tree-sitter/releases/latest/download/tree-sitter-cli-linux-x64.zip
|
||||||
|
sudo unzip ./tree-sitter-cli-linux-x64.zip -d /opt/nvim-linux-x86_64/bin/
|
||||||
|
rm ./tree-sitter-cli-linux-x64.zip
|
||||||
|
|
||||||
# install VS Code
|
# install VS Code
|
||||||
wget "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O "vs-code-linux-x64.deb"
|
wget "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O "vs-code-linux-x64.deb"
|
||||||
echo "code code/add-microsoft-repo boolean true" | sudo debconf-set-selections
|
echo "code code/add-microsoft-repo boolean true" | sudo debconf-set-selections
|
||||||
|
|||||||
@@ -26,6 +26,9 @@ autoload -Uz compinit && compinit
|
|||||||
zstyle ':completion:*' insert-tab false
|
zstyle ':completion:*' insert-tab false
|
||||||
zstyle ':completion:*' menu select
|
zstyle ':completion:*' menu select
|
||||||
|
|
||||||
|
bindkey "^[[1;5C" forward-word # Ctrl+Right
|
||||||
|
bindkey "^[[1;5D" backward-word # Ctrl+Left
|
||||||
|
|
||||||
export NVM_LAZY_LOAD=true
|
export NVM_LAZY_LOAD=true
|
||||||
source "$HOME/.nvm-zsh/zsh-nvm.plugin.zsh"
|
source "$HOME/.nvm-zsh/zsh-nvm.plugin.zsh"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user