fix(macos): asimov service is already automatically registered

This commit is contained in:
Saibotk 2024-12-03 00:23:44 +01:00
parent 93f9700c2c
commit db7d9a7682
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -28,26 +28,23 @@ brew bundle --file ${DOTFILES}/macos/Brewfile
# gnupg is not really needed but marked as a dependency for pass # gnupg is not really needed but marked as a dependency for pass
brew unlink gnupg brew unlink gnupg
# Activate asimov to automatically exclude node_modules from TM backup
sudo brew services start asimov
# Enable corepack # Enable corepack
corepack enable corepack enable
# Herd setup # Install global Composer packages
herd -n tld localhost ${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/clickbar
mkdir -p $HOME/git/konaktiva mkdir -p $HOME/git/konaktiva
mkdir -p $HOME/git/private mkdir -p $HOME/git/private
# Mark directories for herd # Mark directories for Valet
herd park $HOME/git/clickbar valet park $HOME/git/clickbar
herd park $HOME/git/private valet park $HOME/git/private
# Install global Composer packages
composer global require tightenco/takeout
read -p "Enter a name for your MacBook, typically 'MacBook YOURNAME' [default: MacBook cb.]: " computername read -p "Enter a name for your MacBook, typically 'MacBook YOURNAME' [default: MacBook cb.]: " computername
computername=${computername:-MacBook cb.} computername=${computername:-MacBook cb.}