Installed common resources not in a package manager

This commit is contained in:
ItsNoellaHere
2024-02-20 22:46:14 -07:00
parent 59fe4d35e1
commit 33840199d2
7 changed files with 1889 additions and 7 deletions

9
.gitmodules vendored
View File

@@ -1,3 +1,12 @@
[submodule "nvim-conf"]
path = nvim-conf
url = git@github.com:ItsNoellaHere/nvim-conf.git
[submodule "zsh/custom/plugins/zsh-autosuggestions"]
path = zsh/custom/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions
[submodule "zsh/custom/plugins/zsh-syntax-highlighting"]
path = zsh/custom/plugins/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting
[submodule "zsh/custom/themes/powerlevel10k"]
path = zsh/custom/themes/powerlevel10k
url = https://github.com/romkatv/powerlevel10k

41
install.sh Normal file → Executable file
View File

@@ -1,7 +1,44 @@
XDG_CONFIG_HOME=$HOME/.config
# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
# Paste Configs
mkdir -p $XDG_CONFIG_HOME/alacritty
cp -r ./alacritty $XDG_CONFIG_HOME/alacritty
mkdir -p $XDG_CONFIG_HOME/nvim
cp -r ./nvim-conf $XDG_CONFIG_HOME/nvim
mkdir -p $XDG_CONFIG_HOME/tmux
cp -r ./tmux $XDG_CONFIG_HOME/tmux
cp zsh/zshenv $HOME/.zshenv
cp -r ./zsh $XDG_CONFIG_HOME/zsh
cp ./zsh/.zshenv $HOME/.zshenv
cp ./zsh/.p10k.zsh $HOME/.p10k.zsh
mkdir -p $XDG_CONFIG_HOME/zsh
cp ./zsh/.zshrc $XDG_CONFIG_HOME/zsh
# Add Custom plugins
mkdir -p $HOME/.oh-my-zsh
cp -r ./zsh/custom/ $HOME/.oh-my-zsh
# Install Rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
# Install and use Neovim nightly
cargo install bob-nvim
bob install nightly
bob use nightly
# Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# Use nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
# Install Node
nvm install --lts
nvm use --lts
nvm alias default lts/*
env zsh -l

1832
zsh/.p10k.zsh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -9,20 +9,21 @@ fi
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# ZSH Config
ZSH_THEME="powerlevel10k/powerlevel10k"
COMPLETION_WAITING_DOTS="true"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting archlinux systemd nvm systemadmin safe-paste)
source $ZSH/oh-my-zsh.sh
# Rust config
source $HOME/.cargo/env
# Bob config
PATH="$PATH:/home/noella/.local/share/bob/nvim-bin"
alias vim=nvim
export EDITOR=$(where nvim)
export LANG=en_US.UTF-8
# NVM Config
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion