Skip to content

Latest commit

Β 

History

History
32 lines (22 loc) Β· 1.05 KB

File metadata and controls

32 lines (22 loc) Β· 1.05 KB

dotfiles

dotfiles.

make

Use make to symlink the dotfiles to home directory.

make will match all directory items which begin with a dot . and are at least two characters long except for .git and .gitignore.

make or make link will replace any existing symlinks per file.

If the dotfile already exists as a physical file, make will warn you and make no changes. Remove the physical file and remake to replace with the symlink.

πŸ”— Linking dotfiles to /home/username...
  πŸ” Replacing existing symlink: /home/username/.aliases
  βœ… Linked .aliases β†’ /home/username/.aliases
  ⚠️ Skipping (file already exists): /home/username/.gitconfig
  πŸ” Replacing existing symlink: /home/username/.zshrc
  βœ… Linked .zshrc β†’ /home/username/.zshrc

Use make clean to remove existing symlinks for repository dotfiles.

🧹 Removing dotfile symlinks from /home/username...
  ❌ Removed symlink: /home/username/.aliases
  ⚠️ Skipping (file already exists): /home/username/.gitconfig
  ❌ Removed symlink: /home/username/.zshrc