{"id":22903034,"url":"https://github.com/amekusa/home","last_synced_at":"2026-05-04T01:35:43.631Z","repository":{"id":41575355,"uuid":"258714477","full_name":"amekusa/home","owner":"amekusa","description":"My dotfiles in ~/ (macOS)","archived":false,"fork":false,"pushed_at":"2026-04-22T13:46:13.000Z","size":287,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-22T15:29:07.132Z","etag":null,"topics":["dotfiles","macos","shell","tmux","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/amekusa.png","metadata":{"files":{"readme":"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-25T07:37:35.000Z","updated_at":"2026-04-22T13:46:17.000Z","dependencies_parsed_at":"2023-11-29T07:28:32.938Z","dependency_job_id":"753ef5de-4cfe-4216-a4bf-c6538265f17f","html_url":"https://github.com/amekusa/home","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amekusa/home","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amekusa%2Fhome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amekusa%2Fhome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amekusa%2Fhome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amekusa%2Fhome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amekusa","download_url":"https://codeload.github.com/amekusa/home/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amekusa%2Fhome/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32591603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dotfiles","macos","shell","tmux","zsh"],"created_at":"2024-12-14T02:31:16.835Z","updated_at":"2026-05-04T01:35:43.606Z","avatar_url":"https://github.com/amekusa.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Home Directory on macOS\n\n## Installation\n```sh\ncd ~\ngit init\ngit remote add origin git@github.com:amekusa/home.git\ngit pull origin master\ngit submodule update --init --recursive\n```\n\n---\n\n## System Tweaks\n```sh\n# Turning off Spotlight indexing\nsudo mdutil -a -i off -d\n\n# Deleting Spotlight indices\nsudo mdutil -X /\n```\n\n---\n\n## Git\n```sh\n# Global ignore\ngit config --global core.excludesfile ~/.gitignore_global\n\n# Default user identity\ngit config --global user.name 'John Doe'\ngit config --global user.email 'john@example.com'  # do not expose *real email address\n\n# Default editor (nano)\ngit config --global core.editor 'nano'\n\n# Showing all config values\ngit config --global -l\n```\n\n---\n\n## Homebrew\n```sh\n# Install:\ngit clone https://github.com/Homebrew/brew.git .brew\n\n# Make sure if there are any issues with:\nbrew doctor\n```\n\n### Packages to install\n```sh\n# Additional repositories:\nbrew tap homebrew/services\nbrew tap homebrew/cask-fonts\n\n# Shell (zsh)\nbrew install zsh\n\n# Utilities:\nbrew install tmux tig lazygit googler\n\n# Web server, SQL, PHP:\nbrew install nginx mariadb php composer\n\n# Fonts:\nbrew install --cask font-fira-code font-fira-code-nerd-font font-iosevka\n\n# Ungoogled Chromium for browser testing:\nbrew cask install eloston-chromium\n```\n\n### Fixing curl failing due to expired certs\n1. Download https://curl.se/ca/cacert.pem\n2. Replace `/etc/ssl/cert.pem` with it\n```sh\ncd /etc/ssl\nsudo mv cert.pem cert.pem.org\nsudo cp ~/Downloads/cacert.pem ./cert.pem\n```\n\n### Enable the homebrew version of zsh as the default shell\n```sh\n# Check the path to the zsh you want to enable\nwhich zsh\n\n# Add the path to /etc/shells\nsudo nano /etc/shells\n\n# Set the path as your default shell\nchsh -s $(which zsh)\n```\n\n**After restarting the computer**, make sure that `$SHELL` is pointing at the correct path.\n\n```sh\necho $SHELL\n```\n\n### Maintenance\n```sh\n# Cleanup caches\nbrew cleanup -s\n\n# Uinstall unnecessary packages\nbrew autoremove\n\n# Update packages\nbrew update\n```\n\n---\n\n## NPM\n```sh\n# Change global install path to `~/.npm-global`\nnpm config set prefix \"${HOME}/.npm-global\"\n```\n\n### Packages to install\n```sh\n# Utilities:\nnpm i -g npm-check-updates\n\n# Automation:\nnpm i -g npm-watch\n\n# Bundler:\nnpm i -g rollup\nnpm i -g @rollup/plugin-babel @rollup/plugin-node-resolve @rollup/plugin-commonjs\n\n# Debug, Testing, Code Coverage:\nnpm i -g source-map-support\nnpm i -g mocha c8 codecov\n\n# Documentation Generator:\nnpm i -g jsdoc\n```\n\n### Maintenance\n```sh\n# To see all the packages installed:\nnpm ls -g --depth=0\n\n# Update packages (required: npm-check-updates)\nncu -g -u\n```\n\n---\n\n## TMUX\n\n### Copying text\n1. Go to scroll mode with `Ctrl+A` `U`\n2. Move cursor to the text you want to copy\n3. `Space` to go to selection mode\n4. `Enter` to copy the selected text\n\n---\n\n## Python\n\n### Circumventing the restriction of `pip install` by nix\n```sh\n# Use pipx instead\npipx install \u003cpkg\u003e\n#   NOTE:\n#   - pipx is only for managing end-user applications, not for libraries\n#   - Installed apps reside in ~/.local/bin\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famekusa%2Fhome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famekusa%2Fhome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famekusa%2Fhome/lists"}