Skip to content

dotfiles for the developer happiness: macos, zsh, brew, minimalism

License

Notifications You must be signed in to change notification settings

omeralpi/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This repository contains my personal dotfiles for maintaining a consistent development environment across different machines.

🚀 Quick Start

  1. Clone the repository:
git clone https://github.com/omeralpi/dotfiles.git ~/dotfiles
  1. Run the sync script:
cd ~/dotfiles
chmod +x sync.sh
./sync.sh

📦 Contents

  • .gitconfig: Git configuration and aliases
  • .gitignore_global: Global Git ignore patterns
  • .zshrc: ZSH shell configuration with Oh My Zsh
  • sync.sh: Synchronization script

⚡️ Features

Sync Script

The sync.sh script automatically:

  • Creates symbolic links from dotfiles to your home directory
  • Backs up existing configuration files (.bak extension)
  • Syncs changes with the remote repository

Git Aliases

Useful Git aliases included in .gitconfig:

  • git s: Short status view
  • git l: View last 20 commits with graph
  • git ll: Detailed log with graph and author info
  • git uncommit: Undo last commit (keeps changes staged)
  • git unstage: Remove files from staging area
  • git go <branch>: Switch/create branch
  • git amend: Amend last commit
  • git hotfix: Amend and force push (use carefully!)

Prerequisites

  • Git
  • Zsh
  • Oh My Zsh
  • curl (for Oh My Zsh installation)

ZSH Setup

  1. Install Oh My Zsh (if not already installed):
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. The included .zshrc configuration uses the "robbyrussell" theme by default. You can change it by modifying the ZSH_THEME variable.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

dotfiles for the developer happiness: macos, zsh, brew, minimalism

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages