Skip to content

ayushsinghal90/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Dotfiles

Personal dotfiles for zsh configuration with useful aliases and git helpers.

Features

  • Command Aliases: Shortcuts for common commands using modern CLI tools
  • Git Workflow: Comprehensive git aliases for efficient version control
  • Easy Setup: Single script to configure your environment

Prerequisites

  • zsh shell
  • eza - Modern replacement for ls (install with brew install eza)
  • git

Installation

  1. Clone this repository:

    git clone <repository-url> ~/dotfiles
    cd ~/dotfiles
  2. Run the setup script:

    chmod +x zsh_file/setup.sh
    ./zsh_file/setup.sh
  3. Restart your terminal or source your configuration:

    source ~/.zshrc

What's Included

Command Aliases

Git Log Formatting

This configuration includes custom git log formatting functions that display:

  • Commit hash (yellow)
  • Author name (blue)
  • Relative time (green)
  • Commit message
  • Branch references (red)

File Structure

dotfiles/
├── README.md              # This file
└── zsh_file/
    ├── aliases.zsh        # General and git aliases
    ├── git.zsh            # Git helper functions and formatting
    └── setup.sh           # Installation script

Customization

Edit the files in the zsh_file/ directory to customize your configuration:

  • aliases.zsh - Add or modify command aliases
  • git.zsh - Customize git log formatting and helper functions

After making changes, reload your shell configuration:

source ~/.zshrc

License

Personal dotfiles - feel free to use and modify as needed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages