Commit graph

28 commits

Author SHA1 Message Date
311fdd11f6
fix(mac): ensure corepack enable can be called
Disable always works, enable fails if the links already exist.
2024-12-19 17:14:55 +01:00
1ed13411c8
feat(php): use isolated php for non-interactive shells
Removed the composer and php aliases and instead added a small script to call the correct php binary.

This script is placed in the macos bin folder and we add the folder to the PATH in the .zprofile within the install-mac.sh.
Adding it after brew registers its paths, allows our script to be priortized instead of the currently linked php binary.
Because the .zprofile file is used to setup environment variables and it being called for non-interactive sessions too, calls to php in JS scripts for example will now correctly use the isolated php version via valet.
2024-12-18 22:10:49 +01:00
07a033c8a4
fix(macos): java symlinks & path 2024-12-09 14:01:07 +01:00
dcc865e5cc
feat(macos): add flutter + fvm 2024-12-09 13:12:14 +01:00
16b8337ff2
fix(macos): valet tld setup & missing valet deps 2024-12-03 00:53:56 +01:00
41300387db
fix(macos): composer valet bin path 2024-12-03 00:44:34 +01:00
6e3ac46a2b
fix(macos): do not kill terminal after preferences are applied 2024-12-03 00:29:35 +01:00
784d2d435c
fix(macos): switch back to valet 2024-12-03 00:27:56 +01:00
db7d9a7682
fix(macos): asimov service is already automatically registered 2024-12-03 00:23:44 +01:00
93f9700c2c
fix(macos): do not set local hostname
This one does not allow special chars like spaces, but is set anyway through the other commands.
2024-12-03 00:17:17 +01:00
067654e268
feat(macos): exit on error 2024-12-03 00:16:34 +01:00
41bcfd066a
fix(mac): run install before macos preference setup
Because the script is killed when the preferences are applied.
2024-12-03 00:03:15 +01:00
d4acb95e36
feat!(macos): Clean up apps & use herd 2024-12-02 23:16:21 +01:00
6ea6b2367e
feat(macos): use corepack
Much better to handle different pnpm versions and auto install the version from a project :)
2024-06-12 18:57:47 +02:00
52f2fdd69b
feat(mac): Add dev dirs to valet 2024-04-02 09:11:42 +02:00
f5cc33c213
refactor(setup): Remove user specific stuff & ask for hostname
So not everyone is running around with "MacBook Tobias" lol
2024-04-02 03:33:33 +02:00
d0f52a2b1c
!refactor(php-extensions): use shivammathur/extensions tap
Fixes annoying pecl update issues & swoole build failures by using the prebuilt tap.

This also properly manages updates & enables the extensions via files in conf.d instead. Very clean.

And it finally properly installs all extensions for all php versions, pecl has issues with properly installing for other php versions.
2024-04-02 02:47:26 +02:00
1a24c00a4f
chore(macos): remove pynvim install
This is unused, since we are using lua plugins now and also does not work anymore, because Homebrew follows PEP668, which discourages installing packages without the package manager or outside of a venv.
2024-03-20 21:41:37 +01:00
609f929b0d
remove(macos): mackup & config file 2024-03-20 21:39:14 +01:00
4a49035272
mac: Install necessary redis extensions
These are now needed when installing redis with all features enabled.
2023-11-03 10:11:08 +01:00
956c7c933d
fix(mac): Missing homebrew prefix in install mac 2023-11-03 10:09:45 +01:00
a7b29ae4c8
fix: Use homebrew prefix variable 2023-10-29 17:50:49 +01:00
9a9ce6987a
macos: Install asimov 2023-01-15 00:41:32 +01:00
a5096b7830
mac: Add pass & workaround for installing gnupg
See https://github.com/Homebrew/homebrew-core/issues/74447
2022-05-21 22:03:56 +02:00
c71ad1a3de
Fix mac install, remove gnupg & add autoload to gitignore 2022-04-23 00:55:01 +02:00
e17b3332f7
Add pynvim to mac install script 2022-04-22 23:54:51 +02:00
1ba17411c2
Fix dotfiles path definition 2022-04-17 21:14:14 +02:00
1973fe08cf
Include macos specific configs from saibotk/mac-dotfiles
See https://github.com/saibotk/mac-dotfiles
2022-04-17 20:52:22 +02:00