{"id":16820844,"url":"https://github.com/alexeyshockov/dotfiles","last_synced_at":"2025-04-11T03:08:38.606Z","repository":{"id":7233224,"uuid":"8542228","full_name":"alexeyshockov/dotfiles","owner":"alexeyshockov","description":"My dotfiles","archived":false,"fork":false,"pushed_at":"2024-10-03T16:50:28.000Z","size":368,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T03:08:33.996Z","etag":null,"topics":["dotfiles","fish-shell","homebrew","macos","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/alexeyshockov.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}},"created_at":"2013-03-03T20:39:37.000Z","updated_at":"2024-10-03T16:50:33.000Z","dependencies_parsed_at":"2023-11-14T10:30:41.316Z","dependency_job_id":"65676f23-0df5-4945-90d6-38e0892f9368","html_url":"https://github.com/alexeyshockov/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/alexeyshockov%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexeyshockov%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexeyshockov%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexeyshockov%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexeyshockov","download_url":"https://codeload.github.com/alexeyshockov/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248333604,"owners_count":21086200,"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":["dotfiles","fish-shell","homebrew","macos","shell"],"created_at":"2024-10-13T10:58:17.173Z","updated_at":"2025-04-11T03:08:38.578Z","avatar_url":"https://github.com/alexeyshockov.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alex's dotfiles\n\nTo get familiar with the concept, read [this introduction from GitHub](https://dotfiles.github.io). There are many `dotfiles` repos out there, but the most popular and inspiring one is probably [mathiasbynens/dotfiles](https://github.com/mathiasbynens/dotfiles).\n\n## Installation\n\nFirst, install [Homebrew](http://brew.sh/) and follow `brew doctor`'s instructions (install XCode command line tools,..).\n\nThen just clone this repo:\n\n```shell\ngit clone --bare git@github.com:alexeyshockov/dotfiles.git ~/.dotfiles\ngit --git-dir=$HOME/.dotfiles --work-tree=$HOME checkout\n```\n\n### Default shell\n\nFish is currently my login shell of choice. It's important to install/set if first, before installing other deps, so Homebrew installs completions for the right shell.\n\n```shell\nbrew install bash fish\n# And change the default shell\nsudo sh -c 'echo /opt/homebrew/bin/bash \u003e\u003e /etc/shells'\nsudo sh -c 'echo /opt/homebrew/bin/fish \u003e\u003e /etc/shells'\nchsh -s /opt/homebrew/bin/fish\n```\n\n### Homebrew apps\n\nRestore everything using [bundle](https://github.com/Homebrew/homebrew-bundle) (see `~/Brewfile`):\n\n```shell\nbrew bundle\n```\n\n### MacOS\n\nInstall [this custom RU/EN keyboard layout](https://github.com/tonsky/Universal-Layout).\n\nEnable [Touch ID support for `sudo`](https://apple.stackexchange.com/a/306324/132816): just add the line below to `/etc/pam.d/sudo`.\n\n```\nauth    sufficient    pam_tid.so\n```\n\n### Exclude directories from Spotlight / search\n\n`Siri \u0026 Spotlight` \u003e `Spotlight Privacy` \u003e ...\n\n### iTerm2\n\n`iTerm2` \u003e `Make iTerm2 Default Term`\n\nColor scheme (already installed): https://github.com/sindresorhus/iterm2-snazzy\n\n#### Settings\n1. open iTerm for the first time, go to `General` \u003e `Settings`, enable `Load settings from a custom folder or URL`\n2. close the app\n3. revert autaically saved changes with `dotfiles checkout ../.config/iterm2`\n\n\n#### Shell integration\n```shell\ncurl -L https://iterm2.com/shell_integration/fish -o ~/.iterm2_shell_integration.fish\n```\n\n### Touch ID for remote `sudo`\n\nIn the `~/.ssh/config` for the server:\n\n```\nHost ...\n    ForwardAgent yes\n```\n\nAnd on the server itself:\n\n```shell\nsudo apt install libpam-ssh-agent-auth\nsudo echo \"Defaults env_keep += SSH_AUTH_SOCK\" \u003e /etc/sudoers.d/ssh-agent\n```\n\n+ add `auth sufficient pam_ssh_agent_auth.so file=~/.ssh/authorized_keys` to `/etc/pam.d/sudo`\n\n### Sublime Text\n\nInstall [Package Control](https://packagecontrol.io), after that all the packages should be synched automatically...\n\n### ~~Vim~~ Amp\n\n~~Install all the plugins with `:PlugInstall`~~ Just use it\n\n### Docker (Lima/Colima)\n\n```shell\nlimactl start --name=default ~/lima-default.yaml\n```\n\n```shell\nlimactl start --name=docker ~/lima-docker.yaml\ndocker context create lima-docker --docker \"host=unix://.../sock/docker.sock\"\ndocker context use lima-docker\n```\n\n#### BuildKit\n\n```shell\ndocker buildx create --name uno --node local --driver=docker-container --bootstrap --use lima-docker\n```\n\n### Rust\n\nInstall Rust dev tools by using:\n\n```shell\nrustup-init\n```\n\n### PHP\n\nTo link additional (local) configuration:\n\n```shell\nln -s ~/.config/php.ini $(php --ini | grep \"Scan for additional .ini files in\" | cut -d ':' -f 2 | sed -e 's/^[[:space:]]*//')/local.ini\n```\n\nInstall global apps:\n\n```shell\ncomposer g install\n```\n\n(C extensions should be installed manually using PECL, see `php-pecl-requirements.txt`).\n\n### Choosy rules\n\nJust link the ruleset to `~/Library/Application Support/Choosy/behaviours.plist` (import/export is not implemented at the moment, unfortunately).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexeyshockov%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexeyshockov%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexeyshockov%2Fdotfiles/lists"}