Skip to content

ajilty/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Requirements

  • zsh
  • git
  • curl or wget (for Zinit)

Initial Setup

One new machines, the following commands will set these dot files They are careful not to overrite files if they already exist. You can modify this behavior with flags to the reset command.

An alias to dotfiles should be used after this set-up

# start from home directory
cd ~
# clone just the .git directory to a subpath
git clone --bare https://github.com/ajilty/dotfiles.git $HOME/.dotfiles
# fetch without pulling down files
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME fetch --all
# pull down files, handle conflicts with current go reckless with `reset --hard`
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME reset --merge
# restart shell
exec zsh

Commands

Action Command
View tracked files dotfiles-tracked
Add tracked files dotfiles add -f <file or directory to add>
dotfiles commit <msg>
dotfiles push
Update dotfiles-update
Shell dotfiles-shell

Also see Zinit commands

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published