+
Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

fiqryq/dotfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CleanShot 2025-07-04 at 22 40 44

Dotfiles for macOS

This repository contains my personal configuration files for Zsh, Neovim, Ghostty, and more, managed with GNU Stow.

🚀 Quick Start (macOS)

Follow these steps to set up this configuration on your Mac:

1. Install Prerequisites

Make sure you have Homebrew installed, then run:

brew install git stow

2. Clone This Repository

Clone the dotfiles repo into your home directory:

git clone https://github.com/fiqryq/dotfile.git ~/.dotfile

3. Symlink Configurations with Stow

Change into the dotfile directory and use Stow to create symlinks:

cd ~/.dotfile
stow zsh
stow nvim
stow ghostty

Add or remove packages as needed.

4. Install Dependencies

  • Zsh: If you use Oh My Zsh or other frameworks, install them as needed.
  • Neovim: Open Neovim and run your plugin manager’s install command (e.g., :PackerSync).
  • Ghostty: Download and install Ghostty if you haven’t already.

5. Add Local Secrets (Optional)

If you use a .env or .zshrc_priv for secrets or machine-specific settings, create it now:

touch ~/.env
# Add your secrets, e.g.:
# export API_KEY="your_api_key"

These files are ignored by git and should not be committed.

6. Reload Your Shell

Apply your configuration:

source ~/.zshrc

Or simply open a new terminal window.

📁 Structure

.dotfile/
  zsh/.zshrc
  nvim/.config/nvim/
  ghostty/.config/ghostty/
  ...
  • Each directory is a Stow package.
  • Symlinks are created in your home directory or ~/.config.

🛡️ Security

  • Secrets (API keys, tokens, etc.) should go in .env or similar files, which are git-ignored.
  • Never commit sensitive information to this repository.

📝 Updating

To update your dotfiles:

  1. Edit files in ~/.dotfile
  2. Commit and push changes:
    git add .
    git commit -m "Update configs"
    git push

🛠️ Troubleshooting

  • If configs don’t load, check that symlinks exist:
    ls -l ~/.zshrc ~/.config/nvim ~/.config/ghostty
  • Remove conflicting files before running stow.
  • For more help, see Stow documentation.

About

Personal dotfile manage using gnu stow.

Topics

Resources

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载