From db7d9a768251cb6ae939812dcd1a34db36d66d48 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Tue, 3 Dec 2024 00:23:44 +0100 Subject: [PATCH] fix(macos): asimov service is already automatically registered --- install-mac.sh | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/install-mac.sh b/install-mac.sh index ae19444..518a947 100755 --- a/install-mac.sh +++ b/install-mac.sh @@ -28,26 +28,23 @@ brew bundle --file ${DOTFILES}/macos/Brewfile # gnupg is not really needed but marked as a dependency for pass brew unlink gnupg -# Activate asimov to automatically exclude node_modules from TM backup -sudo brew services start asimov - # Enable corepack corepack enable -# Herd setup -herd -n tld localhost +# Install global Composer packages +${HOMEBREW_PREFIX}/bin/composer global require laravel/installer laravel/valet tightenco/takeout -# Create a Sites directory +# Set Valet TLD to .localhost for secure context even in HTTP +valet -n tld localhost + +# Create dev directories mkdir -p $HOME/git/clickbar mkdir -p $HOME/git/konaktiva mkdir -p $HOME/git/private -# Mark directories for herd -herd park $HOME/git/clickbar -herd park $HOME/git/private - -# Install global Composer packages -composer global require tightenco/takeout +# Mark directories for Valet +valet park $HOME/git/clickbar +valet park $HOME/git/private read -p "Enter a name for your MacBook, typically 'MacBook YOURNAME' [default: MacBook cb.]: " computername computername=${computername:-MacBook cb.}