https://github.com/prayash/dotfiles
📎 Utilitarian files and configs. Mapped to a ~/Developer folder on my system.
https://github.com/prayash/dotfiles
bash gitconfig iterm2 vimrc zsh
Last synced: about 2 months ago
JSON representation
📎 Utilitarian files and configs. Mapped to a ~/Developer folder on my system.
- Host: GitHub
- URL: https://github.com/prayash/dotfiles
- Owner: prayash
- Created: 2017-02-12T07:05:53.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T20:37:38.000Z (over 1 year ago)
- Last Synced: 2025-02-28T05:23:42.887Z (over 1 year ago)
- Topics: bash, gitconfig, iterm2, vimrc, zsh
- Language: Shell
- Homepage:
- Size: 22.8 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
Utilitarian files for general usage.
## Setup
Clone the repo and create symlinks:
```bash
git clone ~/Developer/dotfiles
cd ~/Developer/dotfiles
# Symlink zshrc
ln -sf ~/Developer/dotfiles/.zshrc ~/.zshrc
# Symlink gitconfig
ln -sf ~/Developer/dotfiles/.gitconfig ~/.gitconfig
```
## Git Config
The `.gitconfig` uses an include pattern to keep machine-specific settings (name, email, signing) out of version control.
**After symlinking, create `.gitconfig.local`:**
```bash
cat > ~/Developer/dotfiles/.gitconfig.local << 'EOF'
[user]
name = Your Name
email = your@email.com
# Optional: GPG signing (remove if not needed)
[commit]
gpgsign = true
[gpg]
format = x509
[gpg "x509"]
program = /usr/local/bin/ac-sign
EOF
```
This file is gitignored and won't be committed.