This repository contains my personal configuration files (dotfiles), including .zshrc, .vimrc, and .ssh/config. The install.sh script is designed to install necessary dependencies and configure these files on target system.
- Zsh Configuration: Includes
.zshrcwith Oh My Zsh and several useful plugins. - Vim Configuration: Includes
.vimrcmanaged with vim-plug for plugin management. - SSH Configuration: Includes
.ssh/configto simplify SSH connection settings. - Additional Tools: Installs
fzf
-
Clone the Repository:
git clone https://github.com/vvangfaye/dotfiles cd dotfiles -
Run the Installation Script:
Ensure the
install.shscript has execute permissions and run it:chmod +x macos_install.sh ./macos_install.sh
The script will perform the following actions:
- Update package lists.
- Install necessary dependencies (
zsh,oh-my-zsh,fzf,vim). - Clone and install Oh My Zsh and various Zsh plugins.
- Install
vim-plugfor managing Vim plugins. - Generate the
zh_CN.UTF-8locale if it doesn't exist. - Copy configuration files (
.zshrc,.vimrc,.ssh/config) to your home directory, backing up existing files if necessary. - Install Vim plugins.
- Optionally change your default shell to Zsh.