Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Personal dotfiles for zsh, git, and other configurations.

Quick Install

git clone https://github.com/maximborisov/dotfiles.git ~/dotfiles
cd ~/dotfiles/scripts
chmod +x bootstrap.sh
./bootstrap.sh

What's Included

Zsh Configuration

  • .zshrc - Main config, sources modular files
  • aliases.zsh - Shell aliases
  • exports.zsh - Environment variables
  • plugins.zsh - Oh My Zsh plugins and theme

Plugins (auto-installed)

Git Configuration

  • .gitconfig - Git aliases and settings

Structure

dotfiles/
├── zsh/
│   ├── .zshrc          # Main zsh config
│   ├── aliases.zsh     # Aliases
│   ├── exports.zsh     # Exports and PATH
│   └── plugins.zsh     # Plugins and theme
├── git/
│   └── .gitconfig      # Git configuration
├── scripts/
│   └── bootstrap.sh    # Installation script
└── README.md

Local Overrides

Create ~/.zshrc.local for machine-specific settings that won't be tracked:

# ~/.zshrc.local
export CUSTOM_VAR="value"
alias myalias='mycommand'

Manual Installation

If you prefer not to use the bootstrap script:

  1. Install Oh My Zsh:

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  2. Install plugins:

    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-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-completions
  3. Link files:

    ln -sf ~/dotfiles/zsh/.zshrc ~/.zshrc
    ln -sf ~/dotfiles/git/.gitconfig ~/.gitconfig

Updating

cd ~/dotfiles
git pull

Plugins can be updated with:

cd ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions && git pull
cd ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting && git pull
cd ~/.oh-my-zsh/custom/plugins/zsh-completions && git pull

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages