{"id":20066230,"url":"https://github.com/huynhducduy/dotfiles","last_synced_at":"2025-05-05T18:32:31.159Z","repository":{"id":45463660,"uuid":"265876564","full_name":"huynhducduy/dotfiles","owner":"huynhducduy","description":"My macOS setup with dotfiles","archived":false,"fork":false,"pushed_at":"2025-04-25T23:55:25.000Z","size":19268,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T18:16:48.389Z","etag":null,"topics":["alacritty","dotfiles","macos","osx","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/huynhducduy.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":"2020-05-21T14:56:37.000Z","updated_at":"2025-04-25T23:55:28.000Z","dependencies_parsed_at":"2024-07-17T02:16:39.236Z","dependency_job_id":"d26fa689-bdbf-4649-8379-19ad2b6358f6","html_url":"https://github.com/huynhducduy/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/huynhducduy%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynhducduy%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynhducduy%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynhducduy%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huynhducduy","download_url":"https://codeload.github.com/huynhducduy/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252553136,"owners_count":21766835,"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":["alacritty","dotfiles","macos","osx","shell","tmux","zsh"],"created_at":"2024-11-13T13:55:23.827Z","updated_at":"2025-05-05T18:32:31.144Z","avatar_url":"https://github.com/huynhducduy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duy's dotfiles \u0026 Things to do with fresh macOS\n\n- Download your macOS stand-alone installer (if you want Big Sur, then [here](https://github.com/corpnewt/gibMacOS))\n\n- Boot into Recovery Mode\n\t- Disable SIP (System Integrity Protection): [Guide](https://www.macworld.co.uk/how-to/mac/how-turn-off-mac-os-x-system-integrity-protection-rootless-3638975/), `csrutil disable`\n\t- Disable Secureboot (Change `Security Policy` to `Reduced Security`)\n- Disable Gatekeeper: `sudo spctl --master-disable`\n- Change DNS (to [1.1.1.1](https://1.1.1.1/dns/), or [Google](https://developers.google.com/speed/public-dns))\n- Install the Xcode Command Line Tools: `xcode-select --install`\n- Install Rosetta (For Apple Silicon only): `sudo softwareupdate --install-rosetta`\n- Install Homebrew: `/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)\"`\n- Login to app store (prepare to install app)\n- Install `Xcode`\n- Agree to Xcode `sudo xcodebuild -license accept`\n- Install pretty much everything else: `eval \"$(/opt/homebrew/bin/brew shellenv)\" \u0026\u0026 curl https://raw.githubusercontent.com/huynhducduy/dotfiles/master/Brewfile -s -o Brewfile \u0026\u0026 brew bundle install`\n- Import SSH Keys, GPG Keys\n```sh\nsudo mkdir ~/.ssh \u0026\u0026 sudo vi ~/.ssh/id_rsa\nsudo mkdir ~/.ssh \u0026\u0026 sudo vi ~/.ssh/id_ed25519\nsudo touch ~/.ssh/known_hosts\nsudo chown -v $USER ~/.ssh\nsudo chown -v $USER ~/.ssh/id_rsa\nsudo chown -v $USER ~/.ssh/id_ed25519\nsudo chown -v $USER ~/.ssh/known_hosts\ngpg —-import /path/to/public-key-backup\ngpg —-import /path/to/secret-key-backup\n```\n- Config git:\n```sh\ngit config --global user.name \"Your Name Here\"\ngit config --global user.email \"your_email@youremail.com\"\ngit config --global user.signingkey \"yourgpgkey\"\ngit config --global commit.gpgsign true\ngit config --global help.autocorrect 1\n```\n- Install oh-my-zsh\n```sh\nsh -c \"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"\ngit clone https://github.com/TamCore/autoupdate-oh-my-zsh-plugins $ZSH_CUSTOM/plugins/autoupdate\ngit clone https://github.com/Aloxaf/fzf-tab ~ZSH_CUSTOM/plugins/fzf-tab\ngit clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions\ngit clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting\ngit clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions\ngit clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search\ngit clone https://github.com/mroth/evalcache ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/evalcache\ngit clone https://github.com/MichaelAquilina/zsh-you-should-use.git $ZSH_CUSTOM/plugins/you-should-use\ngit clone https://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze\n```\n- Grab `.zshrc` from this repository and use it the way you like (like install `oh-my-zsh \u0026 some plugins`)\n- Initial some packages:\n```sh\nbroot\ncolima nerdctl install\nsudo ln -s /usr/local/bin/nerdctl /usr/local/bin/docker # use nerdctl as a replacement of docker\n```\n- `Mise` as `Asdf`\n```sh\nln -s ~/.local/share/mise ~/.asdf\n```\n- Install `Mise` tools\n```sh\nmise i\n```\n- Ln java\n```sh\nsudo mkdir /Library/Java/JavaVirtualMachines/zulu-\u003cmajor version\u003e.jdk\nsudo ln -s ~/.local/share/mise/installs/java/zulu-\u003cmajor version\u003e/Contents /Library/Java/JavaVirtualMachines/zulu-\u003cmajor version\u003e.jdk/Contents\n```\n- Install nodejs essentials\n```sh\ncorepack enable\ncorepack prepare pnpm@latest --activate\nnpm i -g typescript eslint\n# For nodejs \u003c 16\nnpm i -g corepack\n```\n- Install rust\n```sh\nrustup default stable\nrustup component add rustfmt\nrustup component add clippy\n```\n- Install python essentials\n```sh\nuv tool install ruff@latest\nuv tool install basedpyright@latest\nuv tool install sqlfluff@latest\n```\n- Install MySQL from [here](https://dev.mysql.com/downloads/mysql/) (I prefer dmg installation because it come with preference menu), remember to `mysql_secure_installation`\n- Config for MySQL:\n```\necho 'export PATH=/usr/local/mysql/bin:$PATH' \u003e\u003e ~/.zshrc\n. ~/.zshrc\nmysql_secure_installation\n```\n- Install `battery` `curl -s https://raw.githubusercontent.com/actuallymentor/battery/main/setup.sh | bash`\n- Run `battery` `battery maintain 80`\n- Config `iTerm2` - import profile `iterm2-huynhducduy.json`\n- Config `Alacritty` - `~/.config/alacritty/alacritty.yml`\n- Config `spotify-tui`, `spotifyd`\n- Config `spicetify`\n```sh\nspicetify config custom_apps new-releases\nspicetify config custom_apps lyrics-plus\ncurl -fsSL https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/install.sh | sh\n```\n- Install `https://github.com/huhridge/huh-spicetify-extensions`\n\t- Full App Display modified\n\t- Display full Album date\n- Set `Keka` as default, give files permissions\n- Import config for `Raycast`\n- Install `Raycast` extensions [Wiki](https://github.com/huynhducduy/dotfiles/wiki/Raycast-Extensions)\n- Config `Google Chrome` - Extensions - [Wiki](https://github.com/huynhducduy/dotfiles/wiki/Chrome-Extensions)\n- Config `VSCode` + `Intellij IDEA` - Settings, extensions... [Wiki](https://github.com/huynhducduy/dotfiles/wiki/VSCode-Extensions)\n- Config `Logi Options`\n- Config `Openkey` - especially the `modern icon` which fit with macOS Big Sur\n- Open all apps and verify, then check for startup apps.\n- Perform some tweak to the macOS: `sh ./osx.sh`\n- Check the following settings in `System Preferences`:\n\t- General: Dark Appearence, Small sidebar icons, no recent items\n\t- iCloud: better turn of sync for Photos\n\t- FileVault: Off\n\t- Hot Corners: Mission control, Desktop \n\t- Keyboard: disable auto correction\n\t- Sharing: computer name\n\t- Dock + Menubar: auto hide dock, hide everything on menubar except battery\n\t- Sound: turn of startup sound\n\t- Trackpad: tap to click, app expose\n\t- Display: turn off true tone\n\t- Scroll direction (natural or stardard?)\n\t- Display resolution\n\t- Accessibility: Pointer Control: ignore built-in trackpad, slow down trackpad scroll speed, disable track pad when mouse keys =\u003e options 5 times (oply work for external keyboard)\n\t- Finder Pref: show all extensions,...\n\t- Messages: enable iCloud; Config on iPhone: Messages fowarding;\n- Contexts: Disable panel, Cmd Tab start Fast Search on typing\n- Install others awesome softwares: [Wiki](https://github.com/huynhducduy/dotfiles/wiki/Awesome-software-to-install)\n- Config `Kaleidoscope` integrations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuynhducduy%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuynhducduy%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuynhducduy%2Fdotfiles/lists"}