# dotfiles **Repository Path**: mayzex/dotfiles ## Basic Information - **Project Name**: dotfiles - **Description**: My dotfiles - **Primary Language**: Shell - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-24 - **Last Updated**: 2024-09-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Dotfiles This is my personal `dotfiles` repository. ## Dependencies Before installing the dotfiles, ensure you have the following software installed: - `zsh` - `stow` - `tmux` - `vim` - `neovim` - `git` - `gcc` - `ripgrep` - `bat` In MacOS, you can install these dependencies using `brew`: ```sh brew install zsh stow tmux vim neovim git ripgrep bat ``` In Ubuntu, please refer to [ubuntu env setup](envsetup/ubuntu_env_setup.md). ## Installation Before installing, you need to back up your existing `dotfiles` first. Execute the following commands: ```sh cd ~/ mkdir dotfiles_backup mv .vim .vimrc .tmux .tmux.conf .tmux.conf.local .gitconfig .gitignore_global .zshrc .bash_aliases .config/nvim dotfiles_backup/ ``` ### Clone the Repository and Start zsh ```sh git clone https://github.com/xukaihub/dotfiles.git ~/.local/dotfiles cd ~/.local/dotfiles && ./dotfiles.sh stow zsh ``` ### Install Vim Plugins Enter `\vim` and run: ```vim :PluginInstall ``` Your `dotfiles` are now installed and configured! ### Install NerdFont ```sh ./nerdfont.sh UbuntuMono DejaVuSansMono ```