{"id":26613766,"url":"https://github.com/alexchao26/.dotfiles","last_synced_at":"2025-07-22T03:37:01.939Z","repository":{"id":219880683,"uuid":"286522891","full_name":"alexchao26/.dotfiles","owner":"alexchao26","description":"dotfiles for configuring a macOS system","archived":false,"fork":false,"pushed_at":"2025-01-10T04:06:50.000Z","size":54,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T03:37:37.330Z","etag":null,"topics":["bare-git-repo","launchagents","scripting","vscode","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexchao26.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-08-10T16:16:20.000Z","updated_at":"2025-01-10T04:16:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"65b3e2a8-580f-49f9-b0ed-a516ecb03506","html_url":"https://github.com/alexchao26/.dotfiles","commit_stats":null,"previous_names":["alexchao26/.dotfiles"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexchao26/.dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2F.dotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2F.dotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2F.dotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2F.dotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexchao26","download_url":"https://codeload.github.com/alexchao26/.dotfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexchao26%2F.dotfiles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266420903,"owners_count":23926015,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bare-git-repo","launchagents","scripting","vscode","zsh"],"created_at":"2025-03-24T04:38:27.670Z","updated_at":"2025-07-22T03:37:01.918Z","avatar_url":"https://github.com/alexchao26.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\ndotfiles for a macOS setup.\n\nThis was setup using a bare git repo, per an [Atlassian article](https://www.atlassian.com/git/tutorials/dotfiles).\n\n\n## Includes\n- [zsh](./.zsh) aliases everywhere\n- [oh-my-zsh](https://ohmyz.sh/) customizations\n- VS Code (settings.json and keybindings.json)\n- LaunchAgents ([learn more here](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html))\n    - to remap/swap the ESC and CAPS keys\n    - to schedule the running of a command that excludes node_modules from Time Machine backups\n- VLC config for my preferred keyboard mapping\n\n## Setup\n1. Clone this repo using the --bare flag into the root directory.\n    \n    `git clone --bare git@github.com:alexchao26/.dotfiles.git`\n\n1. Reload the terminal window, so the .zshrc config adds an alias for `dotfile`\n\n1. Use the `dotfile` alias to checkout these files to the new system. It might throw errors if these files already exist - if so back them up, or delete them.\n\n    `dotfile checkout`\n\n1. Don't show untracked files in the copied bare file\n\n    `dotfile config --local status.showUntrackedFiles no`\n\n1. (Optional) Setup symlink to iCloud to $HOME\n\n    `ln -s ~/Library/Mobile\\ Documents/com\\~apple\\~CloudDocs ./icloud`\n\n## Adding New Changes\nUse the `dotfile` alias as you would `git`.\n\n```shell\ndotfile add ~/some/path/file.file\ndotfile commit -m 'added file.file'\ndotfile push\n```\n\n## General macOS Settings \u0026 Programs I like\n- [Alfred](https://www.alfredapp.com/) to replace native Spotlight\n- [Rectangle](https://rectangleapp.com/) for window management\n    - I (unfortunately?) paid for [Magnet](https://apps.apple.com/us/app/magnet/id441258766?mt=12) when I first got a Mac so I just use that, but Rectangle is open source and free :)\n- Command to remove animation time of dock un-hiding: `defaults write com.apple.dock autohide-time-modifier -float 1; killall Dock`\n\n### VSCode Extensions\n- [Better Comments](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments)\n- [Bracket Pair Colorizer 2](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2)\n- [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)\n- [Go](https://marketplace.visualstudio.com/items?itemName=golang.Go)\n- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n- [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexchao26%2F.dotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexchao26%2F.dotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexchao26%2F.dotfiles/lists"}