This helps me manage my system dotfiles with stow
- Make sure git is set up
- Install using the package manager
sudo apt install zsh
- Verify installation running
zsh --version
- Make default shell
chsh -s $(which zsh)
-
Log out and back to use the shell
-
Install ooh-my-zsh
- Run the command below or folow https://github.com/ohmyzsh/ohmyzsh?tab=readme-ov-file#basic-installation
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- Activate syntax highlighting
- Install zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
- Install catppuccin syntax highlighting
git clone https://github.com/catppuccin/zsh-syntax-highlighting.git
mkdir .zsh
cd zsh-syntax-highlighting/themes/
cp -v catppuccin_mocha-zsh-syntax-highlighting.zsh ~/.zsh/
- Install using package manager
sudo apt install alacritty
- Download catppuccin theme
curl -LO --output-dir ~/dotfiles/.config/alacritty https://github.com/catppuccin/alacritty/raw/main/catppuccin-mocha.toml
- Install using package manager
sudo apt install tmux
- Install tpm to manage tmux packages
git clone https://github.com/tmux-plugins/tpm ~/dotfiles/.tmux/plugins/tpm
- Download last version of FiraCode Nerd font
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.0/FiraCode.zip
- Unzip and move files move file to fonts dir
sudo unzip -o FiraCode.zip -d /usr/share/fonts
- Install neovim
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim
sudo apt install stow
- Go to the dotfiles and run.
stow
- If configs already exists either backup them or
stow --adopt .
this can lead to some issues if the files in .dotfiles are different than the ones already present
- Start neovim At start it will download LSP and everything we need
nvim