-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup
52 lines (40 loc) · 1.81 KB
/
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/env bash
# Clone source repo
git clone --recurse-submodules -j8 https://github.com/crazystylus/dotfiles.git "${HOME}/.dotfiles"
# Install Cargo and Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Source cargo env
source "${HOME}/.cargo/env"
# Install CLI tools
cargo install zoxide exa bat tokei delta ripgrep fd-find git-delta
# Install Vim Plug
curl -fLo "${HOME}/.vim/autoload/plug.vim" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Install Vim Plug for NeoVim
curl -fLo "${HOME}/.local/share/nvim/site/autoload/plug.vim" --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Creating all necessary directories
mkdir -p "${HOME}/.zprompts/"
mkdir -p "${HOME}/.local/bin/"
mkdir -p "${HOME}/.config/i3/"
mkdir -p "${HOME}/.config/alacritty/"
mkdir -p "${HOME}/.config/nvim/"
mkdir -p "${HOME}/.vimdid"
# Create all required symlinks
ln -s "${HOME}/.dotfiles/.zshrc" "${HOME}/.zshrc"
ln -s "${HOME}/.dotfiles/.gitconfig" "${HOME}/.gitconfig"
ln -s "${HOME}/.dotfiles/.zprofile" "${HOME}/.zprofile"
ln -s "${HOME}/.dotfiles/.vimrc" "${HOME}/.vimrc"
ln -s "${HOME}/.dotfiles/.p10k.zsh" "${HOME}/.p10k.zsh"
ln -s "${HOME}/.dotfiles/.config/i3/config" "${HOME}/.config/i3/config"
ln -s "${HOME}/.dotfiles/.config/alacritty/alacritty.yml" "${HOME}/.config/alacritty/alacritty.yml"
ln -s "${HOME}/.dotfiles/.vimrc" "${HOME}/.config/nvim/init.vim"
ln -s "${HOME}/.dotfiles/powerlevel10k/powerlevel10k.zsh-theme" "${HOME}/.zprompts/prompt_powerline10k_setup"
# Install Vim Plugins
# vim + PlugInstall + qall + CocInstall coc - rust - analyzer
# Install Node.JS
# curl - sL install - node.vercel.app / lts | bash
# pip3 install yamllint yamlfix
# Install cspell
# npm install -g cspell
#
# Install cspell-rust dict
# npm install -g @cspell/dict-rust