mirror of
https://gitgud.io/Melon__Bread/gnu-plus-dotfiles.git
synced 2024-11-28 18:28:53 -05:00
39 lines
1.5 KiB
Bash
Executable File
39 lines
1.5 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Because Git submodule commands cannot operate without a work tree, they must
|
|
# be run from within $HOME (assuming this is the root of your dotfiles)
|
|
cd "$HOME"
|
|
|
|
echo -e "\e[38;5;$((RANDOM%257))mInit submodules\e[0m"
|
|
yadm submodule update --recursive --init
|
|
|
|
echo -e "\e[38;5;$((RANDOM%257))mInstalling tmux package manager (tpm)\e[0m"
|
|
sudo pacman -S tmux --noconfirm
|
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
|
|
|
echo -e "\e[38;5;$((RANDOM%257))mInstalling SpaceVim\e[0m"
|
|
sudo pacman -S neovim python-pyvim xclip notedown --noconfirm
|
|
curl -sLf https://spacevim.org/install.sh | bash
|
|
|
|
echo "Setting up Rust"
|
|
sudo pacman -S rustup --noconfirm
|
|
rustup install stable
|
|
paru -S cargo-update
|
|
|
|
echo -e "\e[38;5;$((RANDOM%257))mInstalling oh-my-zsh\e[0m"
|
|
sudo pacman -S zsh fzf dust ripgrep procs bat lsd starship --noconfirm
|
|
|
|
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
source ~/.zshrc
|
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
|
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
|
mv ~/.zshrc ~/zshrc.temp
|
|
mv ~/.zshrc.pre-oh-my-zsh ~/.zshrc
|
|
|
|
|
|
echo -e "\e[38;5;$((RANDOM%257))mInstalling other common programs\e[0m"
|
|
sudo pacman -S mpv nethack vifm kitty topgrade --noconfirm
|
|
|
|
|