{"id":18836683,"url":"https://github.com/dapi/dotfiles","last_synced_at":"2025-04-11T13:44:34.761Z","repository":{"id":138399405,"uuid":"8267984","full_name":"dapi/dotfiles","owner":"dapi","description":"My Ubuntu/OSX dotfiles","archived":false,"fork":false,"pushed_at":"2025-03-05T12:28:12.000Z","size":343,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T10:03:29.585Z","etag":null,"topics":["dotfiles","dotfiles-installer","dotfiles-linux","dotfiles-macos","dotfiles-manager"],"latest_commit_sha":null,"homepage":"https://pismenny.ru","language":"Vim Script","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/dapi.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-02-18T12:30:27.000Z","updated_at":"2025-03-02T17:55:34.000Z","dependencies_parsed_at":"2025-01-31T09:25:26.598Z","dependency_job_id":"6486b180-3515-4231-9e99-98b69a9c8210","html_url":"https://github.com/dapi/dotfiles","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapi%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapi%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapi%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dapi%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dapi","download_url":"https://codeload.github.com/dapi/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248410914,"owners_count":21098797,"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","dotfiles-installer","dotfiles-linux","dotfiles-macos","dotfiles-manager"],"created_at":"2024-11-08T02:25:20.670Z","updated_at":"2025-04-11T13:44:34.736Z","avatar_url":"https://github.com/dapi.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Подтягиваемые настройки для консольной веб-разработки и администрирования под MacOS/Linux\n\nМеня зовут [Данил](https://pismenny.ru), я занимаюсь разработкой и администрированием веб-приложений. \n\nВ работе я использую несколько компьютеров с операционной системой MacOS/Linux между которыми постоянно\nперемещаюсь. Это могут быть как сервера под управлением Linux Ubuntu 24.02 LTS по SSH/TMUX без GUI, так и MacOS на ноутбуке или десктопе.\n\nПредпочитаю работать из консоли, с минимальным привлечением мыши, поэтому cтараюсь на всех компьютерах \nдержать идентичный набор настроек, плагинов и цветовые темы для утилит которым я часто пользуюсь, а именно:\n\n* `neovim`, `vim` с набором [плагинов](nvim/vim-plug/plugins.vim)\n* `fish`, `zsh`, `tmux`\n* `direnv`, `goenv`, `rbenv`, `nvm`\n* `git`, `ag`, `ctags`\n* `ghostty`\n* Моноширинные шрифты поддерживающие statusline в fish, tmux, neovim для MacOS.\n\n# Как это выглядит?\n\n\u003cimg width=\"1330\" alt=\"Screenshot 2025-02-04 at 11 28 00\" src=\"https://github.com/user-attachments/assets/075d788b-28af-4fbb-9739-5f29cff6866e\" /\u003e\n\u003cimg width=\"1330\" alt=\"Screenshot 2025-02-04 at 11 28 13\" src=\"https://github.com/user-attachments/assets/66933ac1-f9fa-4ca9-908e-826362e561f6\" /\u003e\n\u003cimg width=\"1126\" alt=\"Screenshot 2025-02-04 at 12 30 29\" src=\"https://github.com/user-attachments/assets/b3e1c673-6a2c-4bbd-b6b1-35cdcf291866\" /\u003e\n\n# Как это работает?\n\n1. Клонирую репоизторий на новый компьютер в каталог `~/dotfiles`\n2. Запускаю в нем `make`. Конфигурационные файлы автоматически разбегаются по своим местам, утилиты устанавливаются.\n3. Когда необходимо изменить настройки, я меняю на том компьютере на котормо нахожусь в данный момент, комичу и пушаю в\nэтот репозиторий, затем на остальных компах делаю `make` чтобы подтянуть изменения. Это приводит к обновлению\nвсех настроек, сохраняя бакапы неучтенных изменний.\n\nДанный механизм подоходит как для того чтобы синхронизировать настройки между\nкомпьютерами, так и для того чтобы установить в один клик на свежую OS необходимые\nпрограммы с привычными настройками.\n\n# Как начать работать с этим?\n\nСкопируйте этот репозиторий к себе в `~/dotfiles`, перейдите в него и запустите `make`. Небойтесь, ваши текущие настройки будут сохранены рядом.\n\nНапример так:\n\n```sh\ncd ~; git clone git@github.com:dapi/dotfiles.git; cd ~/dotfiles; make\n```\n\nили так:\n\n```sh\ncurl -o- https://raw.githubusercontent.com/dapi/dotfiles/refs/heads/master/scripts/install.sh | bash\n```\n\n# TODO\n\nДобавить управление фоном терминала в зависимости от ssh-сессии\n\n* https://github.com/fboender/sshbg\n* https://askubuntu.com/questions/310498/change-terminal-colour-based-on-ssh-session\n* https://superuser.com/questions/603909/how-to-change-terminal-colors-when-connecting-to-ssh-hosts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdapi%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdapi%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdapi%2Fdotfiles/lists"}