Skip to content

prashantv/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

250 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prashantv's dotfiles

Install

Fresh install (no git required):

curl -fsSL https://raw.githubusercontent.com/prashantv/dotfiles/main/setup.sh | bash

With git (clones via SSH for a writable clone):

curl -fsSL https://raw.githubusercontent.com/prashantv/dotfiles/main/setup.sh | bash -s -- --git

From an existing clone:

./setup.sh

Options

  --branch NAME      Branch to use (default: main)
  --git              Clone via SSH instead of downloading tarball
  --profile NAME     Machine profile for zshrc_local (default: hostname)
  --dir PATH         Install directory (default: ~/dotfiles)
  --skip-binaries    Don't download binaries; expect them to be user-installed

To test a branch on a clean VM:

curl -fsSL https://raw.githubusercontent.com/prashantv/dotfiles/<branch>/setup.sh | bash -s -- --branch <branch>

How it works

  • Files in home/ are symlinked to ~/, so edits in the repo immediately take effect.
  • Machine-specific config lives in profiles/<name>/zshrc_local, selected via --profile.
  • External dependencies (zprezto, fzf-tab, direnv, fasd, fzf-git, mise) are installed automatically.
  • ~/.gitconfig_delta is generated with delta config if delta is available.

Dependencies

  • curl (for any install)
  • git (for --git mode and external dependency cloning)

Tips

Download GitHub SSH keys to authorized keys

mkdir -p ~/.ssh && curl https://github.com/prashantv.keys | tee -a ~/.ssh/authorized_keys

About

My dotfiles

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •