{"id":21890083,"url":"https://github.com/ejfox/dotfiles","last_synced_at":"2025-03-22T02:43:33.567Z","repository":{"id":145098686,"uuid":"180029794","full_name":"ejfox/dotfiles","owner":"ejfox","description":"Backup of my dotfiles","archived":false,"fork":false,"pushed_at":"2025-02-19T18:29:37.000Z","size":3083,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T20:05:32.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ejfox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-07T22:09:55.000Z","updated_at":"2025-02-19T18:29:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"31c298a8-5989-40bd-87c2-11052031b490","html_url":"https://github.com/ejfox/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejfox%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejfox%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejfox%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ejfox%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ejfox","download_url":"https://codeload.github.com/ejfox/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244898409,"owners_count":20528335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T11:28:43.068Z","updated_at":"2025-03-22T02:43:33.544Z","avatar_url":"https://github.com/ejfox.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Usage Instructions\n\n1. Clone your dotfiles repository (if you haven't already):\n   ```\n   git clone https://github.com/ejfox/dotfiles.git ~/.dotfiles\n   ```\n\n2. Create a symlink for your .tmux.conf:\n   ```\n   ln -sf ~/.dotfiles/.tmux.conf ~/.tmux.conf\n   ```\n\n3. Pull the latest changes:\n   ```\n   cd ~/.dotfiles\n   git pull origin main\n   ```\n\nNow, to keep things synced going forward, you can just run `git pull` in your ~/.dotfiles directory whenever you want to update.\n\nIf you want to automate this process, you could create a simple script:\n\n\n\n```bash\n#!/bin/bash\n\n# File: ~/sync-dotfiles.sh\n\n# Navigate to dotfiles directory\ncd ~/.dotfiles\n\n# Pull latest changes\ngit pull origin main\n\n# Re-create symlink (in case the file was added recently)\nln -sf ~/.dotfiles/.tmux.conf ~/.tmux.conf\n\necho \"Dotfiles synced successfully!\"\n\n```\n\nSave this script as `~/sync-dotfiles.sh`, make it executable with `chmod +x ~/sync-dotfiles.sh`, and you can run it anytime with `~/sync-dotfiles.sh`.\n\nTo handle potential conflicts between your local .tmux.conf and the one in the repository:\n\n1. If you've made local changes you want to keep:\n   ```\n   cp ~/.tmux.conf ~/.dotfiles/.tmux.conf\n   cd ~/.dotfiles\n   git add .tmux.conf\n   git commit -m \"Update .tmux.conf\"\n   git push origin main\n   ```\n\n2. If you want to discard local changes and use the version from the repo:\n   ```\n   cd ~/.dotfiles\n   git checkout .tmux.conf\n   ln -sf ~/.dotfiles/.tmux.conf ~/.tmux.conf\n   ```\n\nThis approach gives you a quick and easy way to sync your tmux config (and other dotfiles) across machines. It's not as automated as some of the more complex setups we discussed earlier, but it's straightforward and gets the job done.\n\nRemember, whenever you make changes to your .tmux.conf that you want to sync across machines:\n\n1. Make the changes in ~/.dotfiles/.tmux.conf\n2. Commit and push the changes\n3. On other machines, run the sync script or `git pull` in the ~/.dotfiles directory","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fejfox%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fejfox%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fejfox%2Fdotfiles/lists"}