{"id":17497420,"url":"https://github.com/moox/setup","last_synced_at":"2025-04-13T13:12:36.794Z","repository":{"id":11508199,"uuid":"13987556","full_name":"MoOx/setup","owner":"MoOx","description":"My setup... dotfiles, aliases, functions, preferences, apps. Everything.","archived":false,"fork":false,"pushed_at":"2020-06-30T13:34:39.000Z","size":4764,"stargazers_count":109,"open_issues_count":0,"forks_count":9,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-27T04:12:32.617Z","etag":null,"topics":["dotfiles","preferences","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoOx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"MoOx","custom":"https://www.paypal.me/MoOx","ko_fi":"moox__","liberapay":"MoOx"}},"created_at":"2013-10-30T13:40:46.000Z","updated_at":"2025-03-04T11:05:49.000Z","dependencies_parsed_at":"2022-08-28T04:23:48.509Z","dependency_job_id":null,"html_url":"https://github.com/MoOx/setup","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/MoOx%2Fsetup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Fsetup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Fsetup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Fsetup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoOx","download_url":"https://codeload.github.com/MoOx/setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717237,"owners_count":21150389,"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","preferences","shell"],"created_at":"2024-10-19T15:45:01.789Z","updated_at":"2025-04-13T13:12:36.773Z","avatar_url":"https://github.com/MoOx.png","language":"Shell","funding_links":["https://github.com/sponsors/MoOx","https://www.paypal.me/MoOx","https://ko-fi.com/moox__","https://liberapay.com/MoOx"],"categories":[],"sub_categories":[],"readme":"# MoOx `setup`\n\n\u003e Dotfiles, aliases, functions, preferences, apps. Everything.\n\n![kaboom](https://raw.githubusercontent.com/MoOx/setup/master/.kaboom.gif)\n\n## From time to time\n\n```console\nzprezto-update\n\ngit -C $SETUP_PATH pull origin master\n\nsource $SETUP_PATH/dotfiles/.zshrc\n\nsourceFiles $SETUP_PATH/preferences/*.prefs\n\nbrew upgrade\n\nbrew bundle check\n\n$SETUP_PATH/scripts/vscode-backup.sh\n```\n\n## First run\n\nOpen App Store, get your apps you download from this place (hello Xcode), then\n\n```console\nexport SETUPSH_GIT_NAME=MoOx\nexport SETUPSH_GIT_EMAIL=\nexport SETUPSH_PHONE=\nexport SETUP_PATH=$HOME/setup\n\n# Ask for the administrator password upfront\nsudo -v\n\n# security\ndefaults write com.apple.screensaver askForPassword -int 1\ndefaults write com.apple.screensaver askForPasswordDelay -int 0\nsudo defaults write /Library/Preferences/com.apple.alf globalstate -int 1\nsudo launchctl load /System/Library/LaunchDaemons/com.apple.alf.agent.plist 2\u003e/dev/null\nsudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText  \"Found this computer? Please contact $SETUPSH_GIT_NAME at $SETUPSH_GIT_EMAIL or +33$SETUPSH_PHONE for a reward.\\nVous avez trouver cet ordinateur? Merci de contacter $SETUPSH_GIT_NAME à $SETUPSH_GIT_EMAIL ou au 0$SETUPSH_PHONE pour une récompense.\"\n\n# install pretzo\n# https://github.com/sorin-ionescu/prezto/#installation\ngit clone --recursive https://github.com/sorin-ionescu/prezto.git \"${ZDOTDIR:-$HOME}/.zprezto\"\n\n# define zsh as default shell\nchsh -s /bin/zsh $USER\n\n# Command Line Tools (CLT) for Xcode\nxcode-select --install\nsudo xcodebuild -license\n\n# Install Homebrew\n/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\n\ngit clone https://github.com/$SETUPSH_GIT_NAME/setup.git $SETUP_PATH\n\nfor file in $SETUP_PATH/functions/* do; source $file; done\n\nsourceFiles $SETUP_PATH/preferences/*.prefs\n\ndotfiles\n\nmv $HOME/Library/Application\\ Support/Code/User SETUP_PATH/dotfiles/.vscode-Library___Application\\ Support___Code___User || mkdir -p $HOME/Library/Application\\ Support/Code\nln -s SETUP_PATH/dotfiles/.vscode-Library___Application\\ Support___Code___User $HOME/Library/Application\\ Support/Code/User\n\nsource $SETUP_PATH/.zshrc\n\nmacos-hidden-show\nchflags -h nohidden $HOME/Library\n\ndotfiles \"$HOME/Library/Mobile Documents/com~apple~CloudDocs/.home\"\n# lnfs-subfolders $DIR_SYNC/Library $HOME/Library\n# lnfs-subfolders \"$DIR_SYNC/Library_Application Support\" \"$HOME/Library/Application Support\"\n\nbrew install mas\n\nmas signin --dialog $SETUPSH_GIT_EMAIL\n\nbrew bundle\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoox%2Fsetup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoox%2Fsetup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoox%2Fsetup/lists"}