From f9b28b0b979113df90d8dcf086442e6fcffa1267 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 13:56:35 -0500 Subject: [PATCH 001/165] Inital Test of ansible-pull --- local.yml | 9 +++ old/readme.md | 73 ++++++++++++++++++ {vs-code => old/vs-code}/User/settings.json | 0 .../vs-code}/User/snippets/css.json | 0 .../User/snippets/myGlobal.code-snippets | 0 {vs-code => old/vs-code}/readme.md | 0 {zsh => old/zsh}/.zshrc | 0 {zsh => old/zsh}/readme.md | 0 readme.md | 74 +------------------ 9 files changed, 84 insertions(+), 72 deletions(-) create mode 100644 local.yml create mode 100644 old/readme.md rename {vs-code => old/vs-code}/User/settings.json (100%) rename {vs-code => old/vs-code}/User/snippets/css.json (100%) rename {vs-code => old/vs-code}/User/snippets/myGlobal.code-snippets (100%) rename {vs-code => old/vs-code}/readme.md (100%) rename {zsh => old/zsh}/.zshrc (100%) rename {zsh => old/zsh}/readme.md (100%) diff --git a/local.yml b/local.yml new file mode 100644 index 0000000..47e6128 --- /dev/null +++ b/local.yml @@ -0,0 +1,9 @@ +--- +- hosts: localhost + connection: local + become: true + + tasks: + - name: Testing + ansible.builtin.debug: + msg: 'Hello' \ No newline at end of file diff --git a/old/readme.md b/old/readme.md new file mode 100644 index 0000000..105f9d8 --- /dev/null +++ b/old/readme.md @@ -0,0 +1,73 @@ +# Summary + +This repo documents the current setup that I am using. The goal is to setup a +single script to install everything in the case of needing to wipe a computer +but just documenting the process is good too. + +## Applications + +- [1password7](https://1password.com/) * +- [Alphed 4](https://www.alfredapp.com/) +- [Brave Browser](https://brave.com) +- [Google Chrome](https://www.google.com/chrome/) +- [ImageOptim](https://imageoptim.com/mac) +- [iTerm](https://iterm2.com/) +- [Local by Flywheel](https://localbyflywheel.com/) +- [Postman](https://www.getpostman.com/) +- [Slack](https://slack.com/) +- [Things](https://culturedcode.com/things/) * +- [Transmit](https://panic.com/transmit/) +- [VS Code](vs-code/readme.md) +- [Docker](https://docs.docker.com/desktop/mac/apple-silicon/) +- [Lando]() +- [ScreenFlow]() + +*Available through the App Store + +## Development Environment Items + +- Brew +- [Fira-Code Font](https://github.com/tonsky/FiraCode) +- Composer +- zsh & oh-my-zsh +- Git +- NPM +- homestead +- PHPCS +- WPCS + +## OS Settings + +- Set the Dock to `Automatically hide and show the dock`. +- Set the icons to be smallest possible size. +- Don't `Animate opening applications` + +#### Remove Dock Show Delay + +One of the issues with hiding the dock is the delay that it has when showing. The below command removes that delay. + +``` sh +defaults write com.apple.Dock autohide-delay -float 0; killall Dock +``` + +#### Hold Down key for repeat + +``` sh +defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false +``` + +#### Custom screenshot path + +``` sh +mkdir ~/Pictures/screenshots +defaults write com.apple.screencapture location ~/Pictures/screenshots && killall SystemUIServer +``` + +### Brew Install a few things + +``` sh +brew tap homebrew/cask-fonts +brew install --cask iterm2 alfred slack visual-studio-code 1password droplr zoom brave-browser tableplus transmit font-fira-code-nerd-font tinkerwell postman google-chrome imageoptim postman spaceship php composer nvm local +``` + +Some depending on the chipset (Apple/Intel) some of these apps might need to be reinstalled through their websites. diff --git a/vs-code/User/settings.json b/old/vs-code/User/settings.json similarity index 100% rename from vs-code/User/settings.json rename to old/vs-code/User/settings.json diff --git a/vs-code/User/snippets/css.json b/old/vs-code/User/snippets/css.json similarity index 100% rename from vs-code/User/snippets/css.json rename to old/vs-code/User/snippets/css.json diff --git a/vs-code/User/snippets/myGlobal.code-snippets b/old/vs-code/User/snippets/myGlobal.code-snippets similarity index 100% rename from vs-code/User/snippets/myGlobal.code-snippets rename to old/vs-code/User/snippets/myGlobal.code-snippets diff --git a/vs-code/readme.md b/old/vs-code/readme.md similarity index 100% rename from vs-code/readme.md rename to old/vs-code/readme.md diff --git a/zsh/.zshrc b/old/zsh/.zshrc similarity index 100% rename from zsh/.zshrc rename to old/zsh/.zshrc diff --git a/zsh/readme.md b/old/zsh/readme.md similarity index 100% rename from zsh/readme.md rename to old/zsh/readme.md diff --git a/readme.md b/readme.md index 105f9d8..1815cf7 100644 --- a/readme.md +++ b/readme.md @@ -1,73 +1,3 @@ -# Summary +# Mac OS setup via Ansible -This repo documents the current setup that I am using. The goal is to setup a -single script to install everything in the case of needing to wipe a computer -but just documenting the process is good too. - -## Applications - -- [1password7](https://1password.com/) * -- [Alphed 4](https://www.alfredapp.com/) -- [Brave Browser](https://brave.com) -- [Google Chrome](https://www.google.com/chrome/) -- [ImageOptim](https://imageoptim.com/mac) -- [iTerm](https://iterm2.com/) -- [Local by Flywheel](https://localbyflywheel.com/) -- [Postman](https://www.getpostman.com/) -- [Slack](https://slack.com/) -- [Things](https://culturedcode.com/things/) * -- [Transmit](https://panic.com/transmit/) -- [VS Code](vs-code/readme.md) -- [Docker](https://docs.docker.com/desktop/mac/apple-silicon/) -- [Lando]() -- [ScreenFlow]() - -*Available through the App Store - -## Development Environment Items - -- Brew -- [Fira-Code Font](https://github.com/tonsky/FiraCode) -- Composer -- zsh & oh-my-zsh -- Git -- NPM -- homestead -- PHPCS -- WPCS - -## OS Settings - -- Set the Dock to `Automatically hide and show the dock`. -- Set the icons to be smallest possible size. -- Don't `Animate opening applications` - -#### Remove Dock Show Delay - -One of the issues with hiding the dock is the delay that it has when showing. The below command removes that delay. - -``` sh -defaults write com.apple.Dock autohide-delay -float 0; killall Dock -``` - -#### Hold Down key for repeat - -``` sh -defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false -``` - -#### Custom screenshot path - -``` sh -mkdir ~/Pictures/screenshots -defaults write com.apple.screencapture location ~/Pictures/screenshots && killall SystemUIServer -``` - -### Brew Install a few things - -``` sh -brew tap homebrew/cask-fonts -brew install --cask iterm2 alfred slack visual-studio-code 1password droplr zoom brave-browser tableplus transmit font-fira-code-nerd-font tinkerwell postman google-chrome imageoptim postman spaceship php composer nvm local -``` - -Some depending on the chipset (Apple/Intel) some of these apps might need to be reinstalled through their websites. +This repo is the setup process for my MacOS systems using ansible-pull. It will change over time. \ No newline at end of file From b9df30719d008f7e371c813adeebc447d86cba24 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 14:00:36 -0500 Subject: [PATCH 002/165] Change localhost --- local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 47e6128..7f62178 100644 --- a/local.yml +++ b/local.yml @@ -1,5 +1,5 @@ --- -- hosts: localhost +- hosts: 127.0.0.1 connection: local become: true From 74b7ef01a9245dacbeabf79fd83aa1cd27b478bb Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 15:20:59 -0500 Subject: [PATCH 003/165] Switch back to localhosts --- local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 7f62178..47e6128 100644 --- a/local.yml +++ b/local.yml @@ -1,5 +1,5 @@ --- -- hosts: 127.0.0.1 +- hosts: localhost connection: local become: true From 54668c46c2848c4cbb548dcc8114d6a6ad5f407e Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 16:39:49 -0500 Subject: [PATCH 004/165] Add hosts --- hosts | 2 ++ local.yml | 3 +-- readme.md | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 hosts diff --git a/hosts b/hosts new file mode 100644 index 0000000..3b1dc54 --- /dev/null +++ b/hosts @@ -0,0 +1,2 @@ +[local] +127.0.0.1 \ No newline at end of file diff --git a/local.yml b/local.yml index 47e6128..c0bb519 100644 --- a/local.yml +++ b/local.yml @@ -1,8 +1,7 @@ --- -- hosts: localhost +- hosts: all connection: local become: true - tasks: - name: Testing ansible.builtin.debug: diff --git a/readme.md b/readme.md index 1815cf7..5f8818d 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,3 @@ -# Mac OS setup via Ansible +# Mac OS setup via Ansible -This repo is the setup process for my MacOS systems using ansible-pull. It will change over time. \ No newline at end of file +This repo is the setup process for my MacOS systems using ansible-pull. It will change over time. From bc9349cfa39372f29a676ea84c070eb489966943 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 16:44:18 -0500 Subject: [PATCH 005/165] another test --- hosts | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 hosts diff --git a/hosts b/hosts deleted file mode 100644 index 3b1dc54..0000000 --- a/hosts +++ /dev/null @@ -1,2 +0,0 @@ -[local] -127.0.0.1 \ No newline at end of file From 20e3dce539e6eeff644ad2c8f1c88cec39f597f2 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 16:46:47 -0500 Subject: [PATCH 006/165] test --- local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.yml b/local.yml index c0bb519..673b366 100644 --- a/local.yml +++ b/local.yml @@ -4,5 +4,5 @@ become: true tasks: - name: Testing - ansible.builtin.debug: + debug: msg: 'Hello' \ No newline at end of file From 936d2ab78b84cbafc9ee1d82a50d8141c5e8de66 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 16:50:06 -0500 Subject: [PATCH 007/165] change back to localhost --- local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 673b366..7ac871b 100644 --- a/local.yml +++ b/local.yml @@ -1,5 +1,5 @@ --- -- hosts: all +- hosts: localhost connection: local become: true tasks: From 384752c8e1fb4dbd0dd67b4cc696980e27623c13 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 16:59:02 -0500 Subject: [PATCH 008/165] update ansible action --- local.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local.yml b/local.yml index 7ac871b..e5b6a29 100644 --- a/local.yml +++ b/local.yml @@ -3,6 +3,6 @@ connection: local become: true tasks: - - name: Testing - debug: - msg: 'Hello' \ No newline at end of file + - name: Ping + ansible.builtin.ping: + data: pong \ No newline at end of file From 83570d40676bebf7c0d9a3613435888a2efb53af Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:00:38 -0500 Subject: [PATCH 009/165] update format --- local.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/local.yml b/local.yml index e5b6a29..f0b2fd0 100644 --- a/local.yml +++ b/local.yml @@ -1,8 +1,8 @@ --- -- hosts: localhost - connection: local - become: true - tasks: - - name: Ping - ansible.builtin.ping: - data: pong \ No newline at end of file + - hosts: localhost + connection: local + become: true + tasks: + - name: Ping + ansible.builtin.ping: + data: pong \ No newline at end of file From 8cdbbe3a7a14ad83f3b95900b1f277d0741bb1fc Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:11:32 -0500 Subject: [PATCH 010/165] testing git --- local.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/local.yml b/local.yml index f0b2fd0..e2b4a24 100644 --- a/local.yml +++ b/local.yml @@ -1,7 +1,6 @@ --- - hosts: localhost connection: local - become: true tasks: - name: Ping ansible.builtin.ping: From 031582e116f29be8a73abb59030879cc8ce58ad9 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:15:04 -0500 Subject: [PATCH 011/165] testing new format --- local.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/local.yml b/local.yml index e2b4a24..52e7fd9 100644 --- a/local.yml +++ b/local.yml @@ -1,7 +1,11 @@ --- - - hosts: localhost - connection: local - tasks: - - name: Ping - ansible.builtin.ping: - data: pong \ No newline at end of file +- hosts: localhost + connection: local + tasks: + - name: Ping + ansible.builtin.ping: + data: pong + + - name: Test + debug: + msg: "Hello" \ No newline at end of file From ece73ccb3bc8892ecf2a2cab76251e8475b1e822 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:20:15 -0500 Subject: [PATCH 012/165] tests --- local.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/local.yml b/local.yml index 52e7fd9..10d8cbd 100644 --- a/local.yml +++ b/local.yml @@ -1,6 +1,8 @@ --- - hosts: localhost connection: local + become: true + tasks: - name: Ping ansible.builtin.ping: From 6a8e6649fa86ee9aee83afefc3f827cc7c933dd3 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:32:18 -0500 Subject: [PATCH 013/165] setup homebrew --- local.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/local.yml b/local.yml index 10d8cbd..4d94f90 100644 --- a/local.yml +++ b/local.yml @@ -2,6 +2,21 @@ - hosts: localhost connection: local become: true + vars: + install_homebrew_if_missing: false + + pre_tasks: + - name: Ensuring Homebrew Is Installed + stat: + path: /usr/local/bin/brew + register: homebrew_check + + - name: Fail if homebrew is not installed and install_homebrew_if_missing is False + fail: + msg: Homebrew is missing...Install from https://brew.sh/ + when: + - not homebrew_check.stat.exists + - not install_homebrew_if_missing tasks: - name: Ping From cc4f15a2743e4704793c1a9eed09c821c3bc3959 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:34:20 -0500 Subject: [PATCH 014/165] install homebrew if missing --- local.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 4d94f90..8797274 100644 --- a/local.yml +++ b/local.yml @@ -17,7 +17,13 @@ when: - not homebrew_check.stat.exists - not install_homebrew_if_missing - + + - name: Installing Homebrew + shell: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + when: + - not homebrew_check.stat.exists + - install_homebrew_if_missing + tasks: - name: Ping ansible.builtin.ping: From b2c999bda2e08a3734c96cae78019fc445d604b4 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:36:37 -0500 Subject: [PATCH 015/165] Update homebrew --- local.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/local.yml b/local.yml index 8797274..4ab1b76 100644 --- a/local.yml +++ b/local.yml @@ -25,9 +25,10 @@ - install_homebrew_if_missing tasks: - - name: Ping - ansible.builtin.ping: - data: pong + - name: Updating Homebrew + homebrew: + update_homebrew: true + when: homebrew_check.stat.exists - name: Test debug: From c6b05910401c3fcdd3f471f2726ec3abc22b7d00 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:41:51 -0500 Subject: [PATCH 016/165] remove becomes --- local.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/local.yml b/local.yml index 4ab1b76..5348ed7 100644 --- a/local.yml +++ b/local.yml @@ -1,7 +1,6 @@ --- - hosts: localhost connection: local - become: true vars: install_homebrew_if_missing: false From 38ce8c1782819e07d91f7fcec673d80868d19067 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:46:55 -0500 Subject: [PATCH 017/165] upgrade brew --- local.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/local.yml b/local.yml index 5348ed7..c05e958 100644 --- a/local.yml +++ b/local.yml @@ -27,6 +27,7 @@ - name: Updating Homebrew homebrew: update_homebrew: true + upgrade: true when: homebrew_check.stat.exists - name: Test From ff0baaacfade1aca62fe62d5536fe890a0c4a005 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 17:56:51 -0500 Subject: [PATCH 018/165] add tmux --- local.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/local.yml b/local.yml index c05e958..7587303 100644 --- a/local.yml +++ b/local.yml @@ -30,6 +30,8 @@ upgrade: true when: homebrew_check.stat.exists - - name: Test - debug: - msg: "Hello" \ No newline at end of file + - name: Install tmux + package: + name: tmux + state: present + tags: tmuxc \ No newline at end of file From f2ff9525a65cf84915ee699fd70a0f27414aec75 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 18:03:11 -0500 Subject: [PATCH 019/165] Adds xcode-selet --install --- local.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/local.yml b/local.yml index 7587303..c2a310c 100644 --- a/local.yml +++ b/local.yml @@ -5,6 +5,10 @@ install_homebrew_if_missing: false pre_tasks: + + - name: Install Command Line Tools + shell: xcode-select --install + - name: Ensuring Homebrew Is Installed stat: path: /usr/local/bin/brew From 17016404726dc0f804c1b4bf8bc7571a81dd118a Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 21:35:17 -0500 Subject: [PATCH 020/165] add check for command line tools --- local.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/local.yml b/local.yml index c2a310c..01dc9a1 100644 --- a/local.yml +++ b/local.yml @@ -5,9 +5,15 @@ install_homebrew_if_missing: false pre_tasks: + - name: Check for Command Line Tools + shell: xcode-select -p; echo $? + register: xcode_output - name: Install Command Line Tools - shell: xcode-select --install + fail: + msg: Run xcode-select --install + when: + - xcode_output.stdout != 2 - name: Ensuring Homebrew Is Installed stat: From bbb0a795d94f6c9950541ebf9ed89ddd9e5c0532 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 21:42:14 -0500 Subject: [PATCH 021/165] update output --- local.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local.yml b/local.yml index 01dc9a1..23aa7bf 100644 --- a/local.yml +++ b/local.yml @@ -6,14 +6,14 @@ pre_tasks: - name: Check for Command Line Tools - shell: xcode-select -p; echo $? + shell: xcode-select -p | echo $? register: xcode_output - name: Install Command Line Tools fail: msg: Run xcode-select --install when: - - xcode_output.stdout != 2 + - xcode_output.stdout == 0 - name: Ensuring Homebrew Is Installed stat: From bf6b5cc3488c492eb82c3e378e242dc7c4debc65 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 21:49:01 -0500 Subject: [PATCH 022/165] Check against string --- local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 23aa7bf..9d896fc 100644 --- a/local.yml +++ b/local.yml @@ -13,7 +13,7 @@ fail: msg: Run xcode-select --install when: - - xcode_output.stdout == 0 + - xcode_output.stdout == "0" - name: Ensuring Homebrew Is Installed stat: From e6954ca6aa6c49554f7e008502076c84ef43745a Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 21:51:15 -0500 Subject: [PATCH 023/165] update false check --- local.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local.yml b/local.yml index 9d896fc..e9322a7 100644 --- a/local.yml +++ b/local.yml @@ -11,9 +11,9 @@ - name: Install Command Line Tools fail: - msg: Run xcode-select --install + msg: Command Line Tools should be installed...Run xcode-select --install when: - - xcode_output.stdout == "0" + - xcode_output.stdout != "0" - name: Ensuring Homebrew Is Installed stat: From 5c61dd7f0f3f62cd229bf7f0313009e7c350fb46 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 22:10:15 -0500 Subject: [PATCH 024/165] update ignore --- local.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/local.yml b/local.yml index e9322a7..1361c06 100644 --- a/local.yml +++ b/local.yml @@ -8,6 +8,7 @@ - name: Check for Command Line Tools shell: xcode-select -p | echo $? register: xcode_output + ignore_errors: yes - name: Install Command Line Tools fail: From 0c9ffa9fa3eaa6c95a1b0a752fbbc64228222bda Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 22:16:04 -0500 Subject: [PATCH 025/165] update changed when --- local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 1361c06..c7f37b6 100644 --- a/local.yml +++ b/local.yml @@ -8,7 +8,7 @@ - name: Check for Command Line Tools shell: xcode-select -p | echo $? register: xcode_output - ignore_errors: yes + changed_when: False - name: Install Command Line Tools fail: From c086bf9fe8aeba71eee6e6260728953d628f315a Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 22:27:13 -0500 Subject: [PATCH 026/165] add brew casks --- local.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/local.yml b/local.yml index c7f37b6..591494d 100644 --- a/local.yml +++ b/local.yml @@ -45,4 +45,30 @@ package: name: tmux state: present - tags: tmuxc \ No newline at end of file + tags: tmuxc + +- name: 'add custom homebrew repos' + community.general.homebrew_tap: + name: [ + homebrew/cask-fonts, + ] + +- name: Install core packages via brew casks + community.general.homebrew_cask: + name: "{{ item }}" + ignore_errors: yes + with_items: + - 1password + - alfred + - droplr + - iterm2 + - slack + - visual-studio-code + - zoom + - tableplus + - transmit + - font-fira-code-nerd-font + - postman + - arc + - composer + - nvm From 7a00a222aad7b39a9e1344c386a693012c8b81e1 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 22:27:52 -0500 Subject: [PATCH 027/165] fix spacing --- local.yml | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/local.yml b/local.yml index 591494d..0ef5e02 100644 --- a/local.yml +++ b/local.yml @@ -47,28 +47,28 @@ state: present tags: tmuxc -- name: 'add custom homebrew repos' - community.general.homebrew_tap: - name: [ - homebrew/cask-fonts, - ] + - name: 'add custom homebrew repos' + community.general.homebrew_tap: + name: [ + homebrew/cask-fonts, + ] -- name: Install core packages via brew casks - community.general.homebrew_cask: - name: "{{ item }}" - ignore_errors: yes - with_items: - - 1password - - alfred - - droplr - - iterm2 - - slack - - visual-studio-code - - zoom - - tableplus - - transmit - - font-fira-code-nerd-font - - postman - - arc - - composer - - nvm + - name: Install core packages via brew casks + community.general.homebrew_cask: + name: "{{ item }}" + ignore_errors: yes + with_items: + - 1password + - alfred + - droplr + - iterm2 + - slack + - visual-studio-code + - zoom + - tableplus + - transmit + - font-fira-code-nerd-font + - postman + - arc + - composer + - nvm From bf8b5fca2a8a67b6360b2386b87d2d18beb1a1e8 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 22:44:33 -0500 Subject: [PATCH 028/165] Add present to brew --- local.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/local.yml b/local.yml index 0ef5e02..e260f6a 100644 --- a/local.yml +++ b/local.yml @@ -56,19 +56,20 @@ - name: Install core packages via brew casks community.general.homebrew_cask: name: "{{ item }}" + state: present ignore_errors: yes with_items: - 1password - alfred + - arc + - composer - droplr + - font-fira-code-nerd-font - iterm2 + - nvm + - postman - slack - - visual-studio-code - - zoom - tableplus - transmit - - font-fira-code-nerd-font - - postman - - arc - - composer - - nvm + - visual-studio-code + - zoom From 956bec6043701fbb9d4e6a85618315be39abdd30 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 22:45:47 -0500 Subject: [PATCH 029/165] Forced From d17ca08e6d438d393d2aeff34d9977a506ff4280 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 7 Nov 2023 22:50:43 -0500 Subject: [PATCH 030/165] set become to false --- local.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/local.yml b/local.yml index e260f6a..79d4af8 100644 --- a/local.yml +++ b/local.yml @@ -1,6 +1,7 @@ --- - hosts: localhost connection: local + become: false vars: install_homebrew_if_missing: false From 113ced969bd65e01f5698adef4cbc48f24eed12c Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 11:22:06 -0500 Subject: [PATCH 031/165] change state for homebrew --- local.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/local.yml b/local.yml index 79d4af8..d2291db 100644 --- a/local.yml +++ b/local.yml @@ -57,13 +57,12 @@ - name: Install core packages via brew casks community.general.homebrew_cask: name: "{{ item }}" - state: present + state: installed ignore_errors: yes with_items: - 1password - alfred - arc - - composer - droplr - font-fira-code-nerd-font - iterm2 From ea0eab6b243082c3130c8d9a99a4cb4d203d1ea7 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 11:39:21 -0500 Subject: [PATCH 032/165] use homebrew package and multiline maybe --- local.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/local.yml b/local.yml index d2291db..eecaeec 100644 --- a/local.yml +++ b/local.yml @@ -55,21 +55,8 @@ ] - name: Install core packages via brew casks - community.general.homebrew_cask: - name: "{{ item }}" + homebrew: + name: | + 1password + alfred state: installed - ignore_errors: yes - with_items: - - 1password - - alfred - - arc - - droplr - - font-fira-code-nerd-font - - iterm2 - - nvm - - postman - - slack - - tableplus - - transmit - - visual-studio-code - - zoom From 1b9bc04a5090d059916c039a0e1089d302603a9b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 11:41:39 -0500 Subject: [PATCH 033/165] change delimitor --- local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.yml b/local.yml index eecaeec..ae3f8c8 100644 --- a/local.yml +++ b/local.yml @@ -57,6 +57,6 @@ - name: Install core packages via brew casks homebrew: name: | - 1password + 1password | alfred state: installed From 44c4f25b9acb4034bed4db17997ed998769ad4c8 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 11:44:35 -0500 Subject: [PATCH 034/165] rework homebrew --- local.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/local.yml b/local.yml index ae3f8c8..6f9b9cd 100644 --- a/local.yml +++ b/local.yml @@ -56,7 +56,20 @@ - name: Install core packages via brew casks homebrew: - name: | - 1password | - alfred + name: "{{ item }}" state: installed + ignore_errors: yes + with_items: + - 1password + - alfred + - arc + - droplr + - font-fira-code-nerd-font + - iterm2 + - nvm + - postman + - slack + - tableplus + - transmit + - visual-studio-code + - zoom From 9b5893d163fcc05624cf23be3721d70efdecf491 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 11:52:47 -0500 Subject: [PATCH 035/165] remove with items --- local.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/local.yml b/local.yml index 6f9b9cd..7b3d374 100644 --- a/local.yml +++ b/local.yml @@ -56,20 +56,20 @@ - name: Install core packages via brew casks homebrew: - name: "{{ item }}" + name: + - 1password + - alfred + - arc + - droplr + - font-fira-code-nerd-font + - iterm2 + - nvm + - postman + - slack + - tableplus + - transmit + - visual-studio-code + - zoom state: installed ignore_errors: yes - with_items: - - 1password - - alfred - - arc - - droplr - - font-fira-code-nerd-font - - iterm2 - - nvm - - postman - - slack - - tableplus - - transmit - - visual-studio-code - - zoom + From 798c134c50024922540220b6ff262a98e9f5d052 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 11:55:24 -0500 Subject: [PATCH 036/165] inline items --- local.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/local.yml b/local.yml index 7b3d374..32604d0 100644 --- a/local.yml +++ b/local.yml @@ -56,20 +56,5 @@ - name: Install core packages via brew casks homebrew: - name: - - 1password - - alfred - - arc - - droplr - - font-fira-code-nerd-font - - iterm2 - - nvm - - postman - - slack - - tableplus - - transmit - - visual-studio-code - - zoom - state: installed - ignore_errors: yes - + name: 1password alfred arc + state: installed From fbc127ab7b3a03ff69a96a09f0cbb0aa155ba215 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 11:57:03 -0500 Subject: [PATCH 037/165] inline items --- local.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/local.yml b/local.yml index 32604d0..224a8d4 100644 --- a/local.yml +++ b/local.yml @@ -56,5 +56,18 @@ - name: Install core packages via brew casks homebrew: - name: 1password alfred arc - state: installed + name: + - 1password + - alfred + - arc + - droplr + - font-fira-code-nerd-font + - iterm2 + - nvm + - postman + - slack + - tableplus + - transmit + - visual-studio-code + - zoom + state: present From ea54f65c2f7ca41e88b9bec80d79fd07b67b7138 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 15:59:27 -0500 Subject: [PATCH 038/165] change homebrew type --- local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 224a8d4..2cb24fe 100644 --- a/local.yml +++ b/local.yml @@ -55,7 +55,7 @@ ] - name: Install core packages via brew casks - homebrew: + community.general.homebrew_cask: name: - 1password - alfred From 11b83c2ff09c9578f04d1f5157dc93098e9ac24c Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 16:01:32 -0500 Subject: [PATCH 039/165] change homebrew type --- local.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local.yml b/local.yml index 2cb24fe..4aea08c 100644 --- a/local.yml +++ b/local.yml @@ -70,4 +70,5 @@ - transmit - visual-studio-code - zoom - state: present + state: present + accept_external_apps: true From fca521afbd1ee8474732310c0647f73ae542d0e6 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 16:04:56 -0500 Subject: [PATCH 040/165] change homebrew type --- local.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/local.yml b/local.yml index 4aea08c..50b1a38 100644 --- a/local.yml +++ b/local.yml @@ -72,3 +72,11 @@ - zoom state: present accept_external_apps: true + +- name: Install core packages via brew + community.general.homebrew: + name: + - nvm + - composer + state: present + accept_external_apps: true From 9f9fcc15868784d3a2c34efa6bf08354e4f1086a Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 16:06:46 -0500 Subject: [PATCH 041/165] change homebrew type --- local.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local.yml b/local.yml index 50b1a38..706616d 100644 --- a/local.yml +++ b/local.yml @@ -72,8 +72,8 @@ - zoom state: present accept_external_apps: true - -- name: Install core packages via brew + + - name: Install core packages via brew community.general.homebrew: name: - nvm From f4876aa8d8a03e6fab9393e0c78287f2f4837bea Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 16:08:27 -0500 Subject: [PATCH 042/165] change homebrew type --- local.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/local.yml b/local.yml index 706616d..c88922f 100644 --- a/local.yml +++ b/local.yml @@ -63,7 +63,6 @@ - droplr - font-fira-code-nerd-font - iterm2 - - nvm - postman - slack - tableplus From 30f1964a1904b9d96e785a644820383d909918e1 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 16:10:54 -0500 Subject: [PATCH 043/165] change homebrew type --- local.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/local.yml b/local.yml index c88922f..9beb9db 100644 --- a/local.yml +++ b/local.yml @@ -78,4 +78,3 @@ - nvm - composer state: present - accept_external_apps: true From 92d6a4bafe5587406cae9a010833991388dcfb0b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 16:24:57 -0500 Subject: [PATCH 044/165] change homebrew type --- local.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/local.yml b/local.yml index 9beb9db..fa88a21 100644 --- a/local.yml +++ b/local.yml @@ -62,8 +62,13 @@ - arc - droplr - font-fira-code-nerd-font + - google-chrome + - imageOptim - iterm2 + - local + - orbstack - postman + - screenflow - slack - tableplus - transmit From aacb3ccd0f51771ee85fde889427f50e8ae4fb50 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 21:54:30 -0500 Subject: [PATCH 045/165] Split homebrew into playbook --- homebrew.yml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ local.yml | 64 ++----------------------------------------------- 2 files changed, 70 insertions(+), 62 deletions(-) create mode 100644 homebrew.yml diff --git a/homebrew.yml b/homebrew.yml new file mode 100644 index 0000000..4bbc430 --- /dev/null +++ b/homebrew.yml @@ -0,0 +1,68 @@ +--- +- hosts: localhost + connection: local + become: false + vars: + install_homebrew_if_missing: false + + pre_tasks: + - name: Ensuring Homebrew Is Installed + stat: + path: /usr/local/bin/brew + register: homebrew_check + + - name: Fail if homebrew is not installed and install_homebrew_if_missing is False + fail: + msg: Homebrew is missing...Install from https://brew.sh/ + when: + - not homebrew_check.stat.exists + - not install_homebrew_if_missing + + - name: Installing Homebrew + shell: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + when: + - not homebrew_check.stat.exists + - install_homebrew_if_missing + + tasks: + - name: Updating Homebrew + homebrew: + update_homebrew: true + upgrade: true + when: homebrew_check.stat.exists + + - name: 'add custom homebrew repos' + community.general.homebrew_tap: + name: [ + homebrew/cask-fonts, + ] + + - name: Install core packages via brew casks + community.general.homebrew_cask: + name: + - 1password + - alfred + - arc + - droplr + - font-fira-code-nerd-font + - google-chrome + - imageOptim + - iterm2 + - local + - orbstack + - postman + - screenflow + - slack + - tableplus + - transmit + - visual-studio-code + - zoom + state: present + accept_external_apps: true + + - name: Install core packages via brew + community.general.homebrew: + name: + - nvm + - composer + state: present \ No newline at end of file diff --git a/local.yml b/local.yml index fa88a21..1768f36 100644 --- a/local.yml +++ b/local.yml @@ -2,8 +2,8 @@ - hosts: localhost connection: local become: false - vars: - install_homebrew_if_missing: false + +- import_playbook: homebrew.yml pre_tasks: - name: Check for Command Line Tools @@ -17,69 +17,9 @@ when: - xcode_output.stdout != "0" - - name: Ensuring Homebrew Is Installed - stat: - path: /usr/local/bin/brew - register: homebrew_check - - - name: Fail if homebrew is not installed and install_homebrew_if_missing is False - fail: - msg: Homebrew is missing...Install from https://brew.sh/ - when: - - not homebrew_check.stat.exists - - not install_homebrew_if_missing - - - name: Installing Homebrew - shell: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - when: - - not homebrew_check.stat.exists - - install_homebrew_if_missing - tasks: - - name: Updating Homebrew - homebrew: - update_homebrew: true - upgrade: true - when: homebrew_check.stat.exists - - name: Install tmux package: name: tmux state: present tags: tmuxc - - - name: 'add custom homebrew repos' - community.general.homebrew_tap: - name: [ - homebrew/cask-fonts, - ] - - - name: Install core packages via brew casks - community.general.homebrew_cask: - name: - - 1password - - alfred - - arc - - droplr - - font-fira-code-nerd-font - - google-chrome - - imageOptim - - iterm2 - - local - - orbstack - - postman - - screenflow - - slack - - tableplus - - transmit - - visual-studio-code - - zoom - state: present - accept_external_apps: true - - - name: Install core packages via brew - community.general.homebrew: - name: - - nvm - - composer - state: present From 132d70db5b83f7c72858737ba519d0e5411eca87 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 22:00:52 -0500 Subject: [PATCH 046/165] Add Playbooks --- command_line.yml | 16 ++++++++++++++++ homebrew.yml | 3 ++- local.yml | 21 +-------------------- 3 files changed, 19 insertions(+), 21 deletions(-) create mode 100644 command_line.yml diff --git a/command_line.yml b/command_line.yml new file mode 100644 index 0000000..e38980d --- /dev/null +++ b/command_line.yml @@ -0,0 +1,16 @@ +--- +- hosts: localhost + connection: local + become: false + + pre_tasks: + - name: Check for Command Line Tools + shell: xcode-select -p | echo $? + register: xcode_output + changed_when: False + + - name: Install Command Line Tools + fail: + msg: Command Line Tools should be installed...Run xcode-select --install + when: + - xcode_output.stdout != "0" diff --git a/homebrew.yml b/homebrew.yml index 4bbc430..41c9cf9 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -36,7 +36,7 @@ name: [ homebrew/cask-fonts, ] - + - name: Install core packages via brew casks community.general.homebrew_cask: name: @@ -54,6 +54,7 @@ - screenflow - slack - tableplus + - tmux - transmit - visual-studio-code - zoom diff --git a/local.yml b/local.yml index 1768f36..10f7b57 100644 --- a/local.yml +++ b/local.yml @@ -1,25 +1,6 @@ --- -- hosts: localhost - connection: local - become: false - - import_playbook: homebrew.yml +- import_playbook: command_line.yml - pre_tasks: - - name: Check for Command Line Tools - shell: xcode-select -p | echo $? - register: xcode_output - changed_when: False - - name: Install Command Line Tools - fail: - msg: Command Line Tools should be installed...Run xcode-select --install - when: - - xcode_output.stdout != "0" - tasks: - - name: Install tmux - package: - name: tmux - state: present - tags: tmuxc From 07874c1696bb0572326e01460af66522b3337efc Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 22:10:53 -0500 Subject: [PATCH 047/165] Move tmux --- homebrew.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index 41c9cf9..5ec97f3 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -54,7 +54,6 @@ - screenflow - slack - tableplus - - tmux - transmit - visual-studio-code - zoom @@ -64,6 +63,7 @@ - name: Install core packages via brew community.general.homebrew: name: - - nvm - composer + - nvm + - tmux state: present \ No newline at end of file From 43ff497c6a2ff9331242eefebcd47cde2576ca49 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 22:24:34 -0500 Subject: [PATCH 048/165] Add vs_code_playbook --- local.yml | 1 + vs_code.yml | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 vs_code.yml diff --git a/local.yml b/local.yml index 10f7b57..66ee8ee 100644 --- a/local.yml +++ b/local.yml @@ -1,6 +1,7 @@ --- - import_playbook: homebrew.yml - import_playbook: command_line.yml +- import_playbook: vs_code.yml diff --git a/vs_code.yml b/vs_code.yml new file mode 100644 index 0000000..624f598 --- /dev/null +++ b/vs_code.yml @@ -0,0 +1,71 @@ +--- +- hosts: localhost + connection: local + become: false + + pre_tasks: + - name: Ensuring Homebrew Is Installed + stat: + path: /usr/local/bin/brew + register: homebrew_check + + - name: Fail if homebrew is not installed and install_homebrew_if_missing is False + fail: + msg: Homebrew is missing...Install from https://brew.sh/ + when: + - not homebrew_check.stat.exists + - not install_homebrew_if_missing + + - name: Installing Homebrew + shell: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + when: + - not homebrew_check.stat.exists + - install_homebrew_if_missing + + tasks: + - name: Updating Homebrew + homebrew: + update_homebrew: true + upgrade: true + when: homebrew_check.stat.exists + + - name: Install core packages via brew casks + community.general.homebrew_cask: + name: visual-studio-code + state: present + accept_external_apps: true + + - name: Install Extensions + shell: | + code --install-extension bierner.markdown-mermaid | + bmewburn.vscode-intelephense-client | + bradlc.vscode-tailwindcss | + breezelin.phpstan | + cssho.vscode-svgviewer | + DavidAnson.vscode-markdownlint | + DotJoshJohnson.xml | + eamodio.gitlens | + EditorConfig.EditorConfig | + formulahendry.auto-close-tag | + formulahendry.auto-rename-tag | + GitHub.codespaces | + GitHub.github-vscode-theme | + jebbs.plantuml | + johnbillion.vscode-wordpress-hooks | + ms-vscode-remote.remote-containers | + ms-vsliveshare.vsliveshare | + naumovs.color-highlight | + neilbrayfield.php-docblocker | + PKief.material-icon-theme | + redhat.vscode-yaml | + sdras.night-owl | + SimplyDanny.modelica | + streetsidesoftware.code-spell-checker | + Tyriar.sort-lines | + valeryanm.vscode-phpsab | + vincaslt.highlight-matching-tag | + Vue.volar | + wayou.vscode-todo-highlight | + whatwedo.twig | + wwm.better-align | + xdebug.php-debug \ No newline at end of file From 7e21a4ea9f6b1151e9a4c2944c43189da87fc45d Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 22:27:17 -0500 Subject: [PATCH 049/165] install all extensions --- vs_code.yml | 64 ++++++++++++++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index 624f598..1cb424e 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -37,35 +37,35 @@ - name: Install Extensions shell: | - code --install-extension bierner.markdown-mermaid | - bmewburn.vscode-intelephense-client | - bradlc.vscode-tailwindcss | - breezelin.phpstan | - cssho.vscode-svgviewer | - DavidAnson.vscode-markdownlint | - DotJoshJohnson.xml | - eamodio.gitlens | - EditorConfig.EditorConfig | - formulahendry.auto-close-tag | - formulahendry.auto-rename-tag | - GitHub.codespaces | - GitHub.github-vscode-theme | - jebbs.plantuml | - johnbillion.vscode-wordpress-hooks | - ms-vscode-remote.remote-containers | - ms-vsliveshare.vsliveshare | - naumovs.color-highlight | - neilbrayfield.php-docblocker | - PKief.material-icon-theme | - redhat.vscode-yaml | - sdras.night-owl | - SimplyDanny.modelica | - streetsidesoftware.code-spell-checker | - Tyriar.sort-lines | - valeryanm.vscode-phpsab | - vincaslt.highlight-matching-tag | - Vue.volar | - wayou.vscode-todo-highlight | - whatwedo.twig | - wwm.better-align | - xdebug.php-debug \ No newline at end of file + code --install-extension bierner.markdown-mermaid + code --install-extension bmewburn.vscode-intelephense-client + code --install-extension bradlc.vscode-tailwindcss + code --install-extension breezelin.phpstan + code --install-extension cssho.vscode-svgviewer + code --install-extension DavidAnson.vscode-markdownlint + code --install-extension DotJoshJohnson.xml + code --install-extension eamodio.gitlens + code --install-extension EditorConfig.EditorConfig + code --install-extension formulahendry.auto-close-tag + code --install-extension formulahendry.auto-rename-tag + code --install-extension GitHub.codespaces + code --install-extension GitHub.github-vscode-theme + code --install-extension jebbs.plantuml + code --install-extension johnbillion.vscode-wordpress-hooks + code --install-extension ms-vscode-remote.remote-containers + code --install-extension ms-vsliveshare.vsliveshare + code --install-extension naumovs.color-highlight + code --install-extension neilbrayfield.php-docblocker + code --install-extension PKief.material-icon-theme + code --install-extension redhat.vscode-yaml + code --install-extension sdras.night-owl + code --install-extension SimplyDanny.modelica + code --install-extension streetsidesoftware.code-spell-checker + code --install-extension Tyriar.sort-lines + code --install-extension valeryanm.vscode-phpsab + code --install-extension vincaslt.highlight-matching-tag + code --install-extension Vue.volar + code --install-extension wayou.vscode-todo-highlight + code --install-extension whatwedo.twig + code --install-extension wwm.better-align + code --install-extension xdebug.php-debug \ No newline at end of file From c322e32e851a9e0e720b156b13822c5ef6f04c77 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 22:38:28 -0500 Subject: [PATCH 050/165] setup vs_Code --- vs_code.yml | 68 +++++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index 1cb424e..b545604 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -36,36 +36,38 @@ accept_external_apps: true - name: Install Extensions - shell: | - code --install-extension bierner.markdown-mermaid - code --install-extension bmewburn.vscode-intelephense-client - code --install-extension bradlc.vscode-tailwindcss - code --install-extension breezelin.phpstan - code --install-extension cssho.vscode-svgviewer - code --install-extension DavidAnson.vscode-markdownlint - code --install-extension DotJoshJohnson.xml - code --install-extension eamodio.gitlens - code --install-extension EditorConfig.EditorConfig - code --install-extension formulahendry.auto-close-tag - code --install-extension formulahendry.auto-rename-tag - code --install-extension GitHub.codespaces - code --install-extension GitHub.github-vscode-theme - code --install-extension jebbs.plantuml - code --install-extension johnbillion.vscode-wordpress-hooks - code --install-extension ms-vscode-remote.remote-containers - code --install-extension ms-vsliveshare.vsliveshare - code --install-extension naumovs.color-highlight - code --install-extension neilbrayfield.php-docblocker - code --install-extension PKief.material-icon-theme - code --install-extension redhat.vscode-yaml - code --install-extension sdras.night-owl - code --install-extension SimplyDanny.modelica - code --install-extension streetsidesoftware.code-spell-checker - code --install-extension Tyriar.sort-lines - code --install-extension valeryanm.vscode-phpsab - code --install-extension vincaslt.highlight-matching-tag - code --install-extension Vue.volar - code --install-extension wayou.vscode-todo-highlight - code --install-extension whatwedo.twig - code --install-extension wwm.better-align - code --install-extension xdebug.php-debug \ No newline at end of file + shell: code --install-extension {{ items }} + with_items: + - bierner.markdown-mermaid + - bmewburn.vscode-intelephense-client + - bradlc.vscode-tailwindcss + - breezelin.phpstan + - chouzz.vscode-better-align + - cssho.vscode-svgviewer + - DavidAnson.vscode-markdownlint + - DotJoshJohnson.xml + - eamodio.gitlens + - EditorConfig.EditorConfig + - formulahendry.auto-close-tag + - formulahendry.auto-rename-tag + - GitHub.codespaces + - GitHub.github-vscode-theme + - jebbs.plantuml + - johnbillion.vscode-wordpress-hooks + - ms-vscode-remote.remote-containers + - ms-vsliveshare.vsliveshare + - naumovs.color-highlight + - neilbrayfield.php-docblocker + - PKief.material-icon-theme + - redhat.vscode-yaml + - sdras.night-owl + - SimplyDanny.modelica + - streetsidesoftware.code-spell-checker + - Tyriar.sort-lines + - valeryanm.vscode-phpsab + - vincaslt.highlight-matching-tag + - Vue.volar + - wayou.vscode-todo-highlight + - whatwedo.twig + - wwm.better-align + - xdebug.php-debug \ No newline at end of file From 4b2573d2e726cd35658f286866b34a8025a5e0f9 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 22:39:12 -0500 Subject: [PATCH 051/165] setup vs_Code --- vs_code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vs_code.yml b/vs_code.yml index b545604..111e55c 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -36,7 +36,7 @@ accept_external_apps: true - name: Install Extensions - shell: code --install-extension {{ items }} + shell: code --install-extension {{ item }} with_items: - bierner.markdown-mermaid - bmewburn.vscode-intelephense-client From 3c62bc3a0db03bb6bb447f7a154f204b3b534d7f Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Wed, 8 Nov 2023 22:49:24 -0500 Subject: [PATCH 052/165] Add install instructions --- vs_code.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vs_code.yml b/vs_code.yml index 111e55c..43cd7c1 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -37,6 +37,8 @@ - name: Install Extensions shell: code --install-extension {{ item }} + register: code_extension + changed_when: "'was successfully installed' in code_extension.stdout" with_items: - bierner.markdown-mermaid - bmewburn.vscode-intelephense-client @@ -70,4 +72,5 @@ - wayou.vscode-todo-highlight - whatwedo.twig - wwm.better-align - - xdebug.php-debug \ No newline at end of file + - xdebug.php-debug + \ No newline at end of file From d58d49e166af808cf068da62d28eb52f5ce8c1f3 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:08:33 -0500 Subject: [PATCH 053/165] add mas to homebrew --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index 5ec97f3..916ae84 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -64,6 +64,7 @@ community.general.homebrew: name: - composer + - mas - nvm - tmux state: present \ No newline at end of file From 442a5472567ba51122a8c6842d577a28606709b2 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:26:36 -0500 Subject: [PATCH 054/165] Add MAS and app store installed apps --- local.yml | 1 + mac_os_apps.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 mac_os_apps.yml diff --git a/local.yml b/local.yml index 66ee8ee..1b10c18 100644 --- a/local.yml +++ b/local.yml @@ -2,6 +2,7 @@ - import_playbook: homebrew.yml - import_playbook: command_line.yml - import_playbook: vs_code.yml +- import_playbook: mac_os_apps.yml diff --git a/mac_os_apps.yml b/mac_os_apps.yml new file mode 100644 index 0000000..5a76c4e --- /dev/null +++ b/mac_os_apps.yml @@ -0,0 +1,41 @@ +--- +- hosts: localhost + connection: local + become: false + + pre_tasks: + - name: Ensuring Homebrew Is Installed + stat: + path: /usr/local/bin/brew + register: homebrew_check + + - name: Fail if homebrew is not installed and install_homebrew_if_missing is False + fail: + msg: Homebrew is missing...Install from https://brew.sh/ + when: + - not homebrew_check.stat.exists + - not install_homebrew_if_missing + + - name: Installing Homebrew + shell: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + when: + - not homebrew_check.stat.exists + - install_homebrew_if_missing + + tasks: + - name: Updating Homebrew + homebrew: + update_homebrew: true + upgrade: true + when: homebrew_check.stat.exists + + - name: Install core packages via brew casks + community.general.homebrew: + name: mas + state: present + + - name: Install Mac App Store Apps + community.general.mas: # Use `mas search 'APP_NAME'` to find id. + - 1569813296 # 1Password for Safari + - 904280696 # Things 3 + - 441258766 # Magnet \ No newline at end of file From 7471295e30bdb7fb26b9544af39ef578d4ab41b5 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:28:29 -0500 Subject: [PATCH 055/165] change layout of MAS task --- mac_os_apps.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 5a76c4e..e97ca7a 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -31,8 +31,8 @@ - name: Install core packages via brew casks community.general.homebrew: - name: mas - state: present + name: + - mas - name: Install Mac App Store Apps community.general.mas: # Use `mas search 'APP_NAME'` to find id. From 9373cb5b4097d020662fcbad7068ecf3cbbe5fe8 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:30:57 -0500 Subject: [PATCH 056/165] change layout of MAS task --- mac_os_apps.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index e97ca7a..ee9449a 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -29,10 +29,10 @@ upgrade: true when: homebrew_check.stat.exists - - name: Install core packages via brew casks - community.general.homebrew: - name: - - mas + # - name: Install MAS via BREW + # community.general.homebrew: + # name: + # - mas - name: Install Mac App Store Apps community.general.mas: # Use `mas search 'APP_NAME'` to find id. From 3dab9872720b40ff32224381f625c5b5ac8e4e7a Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:32:11 -0500 Subject: [PATCH 057/165] change layout of MAS task --- mac_os_apps.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index ee9449a..4ac420c 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -34,8 +34,8 @@ # name: # - mas - - name: Install Mac App Store Apps - community.general.mas: # Use `mas search 'APP_NAME'` to find id. - - 1569813296 # 1Password for Safari - - 904280696 # Things 3 - - 441258766 # Magnet \ No newline at end of file + # - name: Install Mac App Store Apps + # community.general.mas: # Use `mas search 'APP_NAME'` to find id. + # - 1569813296 # 1Password for Safari + # - 904280696 # Things 3 + # - 441258766 # Magnet \ No newline at end of file From bb28039da1ed9f2da9093c5526ca1eb6460dd4fe Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:33:52 -0500 Subject: [PATCH 058/165] change layout of MAS task --- mac_os_apps.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 4ac420c..36a6292 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -29,6 +29,9 @@ upgrade: true when: homebrew_check.stat.exists + - name: Install mac app store Apps + mas: + - 1569813296 # - name: Install MAS via BREW # community.general.homebrew: # name: From 2f1fdb1decd456bda822cd1ac94a0c2c60da5451 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:36:59 -0500 Subject: [PATCH 059/165] change layout of MAS task --- mac_os_apps.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 36a6292..bf15d45 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -28,9 +28,9 @@ update_homebrew: true upgrade: true when: homebrew_check.stat.exists - - - name: Install mac app store Apps - mas: + + - name: Test + community.general.mas: - 1569813296 # - name: Install MAS via BREW # community.general.homebrew: From 2d6721f224b492c2aac088f7fe44df0b77ad4f11 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:39:49 -0500 Subject: [PATCH 060/165] change layout of MAS task --- mac_os_apps.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index bf15d45..f76492c 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -23,12 +23,12 @@ - install_homebrew_if_missing tasks: - - name: Updating Homebrew - homebrew: - update_homebrew: true - upgrade: true - when: homebrew_check.stat.exists - + # - name: Updating Homebrew + # homebrew: + # update_homebrew: true + # upgrade: true + # when: homebrew_check.stat.exists + - name: Test community.general.mas: - 1569813296 From 45ac644227aeafb8c2fe18cbec0c7119da8eeea9 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:40:43 -0500 Subject: [PATCH 061/165] change layout of MAS task --- mac_os_apps.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index f76492c..bad15c9 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -23,15 +23,13 @@ - install_homebrew_if_missing tasks: - # - name: Updating Homebrew - # homebrew: - # update_homebrew: true - # upgrade: true - # when: homebrew_check.stat.exists - - - name: Test + - name: Updating Homebrew community.general.mas: - 1569813296 + + # - name: Test + # community.general.mas: + # - 1569813296 # - name: Install MAS via BREW # community.general.homebrew: # name: From fdcb8739065507431ef6cb5f75fb456d293534f4 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:41:19 -0500 Subject: [PATCH 062/165] change layout of MAS task --- mac_os_apps.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index bad15c9..750b275 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -24,9 +24,11 @@ tasks: - name: Updating Homebrew - community.general.mas: - - 1569813296 - + homebrew: + update_homebrew: true + upgrade: true + when: homebrew_check.stat.exists + # - name: Test # community.general.mas: # - 1569813296 From 897990864e3bd28caff488faa8a7b20aa7f4f4c3 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:42:34 -0500 Subject: [PATCH 063/165] change layout of MAS task --- mac_os_apps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 750b275..1893415 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -24,7 +24,7 @@ tasks: - name: Updating Homebrew - homebrew: + community.general.homebrew: update_homebrew: true upgrade: true when: homebrew_check.stat.exists From 0eee843cabeb70441c4f2e970354e19c26e53013 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:46:04 -0500 Subject: [PATCH 064/165] change layout of MAS task --- mac_os_apps.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 1893415..487ce44 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -28,17 +28,10 @@ update_homebrew: true upgrade: true when: homebrew_check.stat.exists - - # - name: Test - # community.general.mas: - # - 1569813296 - # - name: Install MAS via BREW - # community.general.homebrew: - # name: - # - mas - # - name: Install Mac App Store Apps - # community.general.mas: # Use `mas search 'APP_NAME'` to find id. - # - 1569813296 # 1Password for Safari - # - 904280696 # Things 3 - # - 441258766 # Magnet \ No newline at end of file + - name: Install Mac App Store Apps + community.general.mas: + id: # Use `mas search 'APP_NAME'` to find id. + - 1569813296 # 1Password for Safari + - 904280696 # Things 3 + - 441258766 # Magnet From ac89003eb197d6efcff4210fdaaaf8989d294fc6 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 16:47:11 -0500 Subject: [PATCH 065/165] change layout of MAS task --- mac_os_apps.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 487ce44..3e584d4 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -3,32 +3,7 @@ connection: local become: false - pre_tasks: - - name: Ensuring Homebrew Is Installed - stat: - path: /usr/local/bin/brew - register: homebrew_check - - - name: Fail if homebrew is not installed and install_homebrew_if_missing is False - fail: - msg: Homebrew is missing...Install from https://brew.sh/ - when: - - not homebrew_check.stat.exists - - not install_homebrew_if_missing - - - name: Installing Homebrew - shell: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - when: - - not homebrew_check.stat.exists - - install_homebrew_if_missing - tasks: - - name: Updating Homebrew - community.general.homebrew: - update_homebrew: true - upgrade: true - when: homebrew_check.stat.exists - - name: Install Mac App Store Apps community.general.mas: id: # Use `mas search 'APP_NAME'` to find id. From ceb7755aa9ed8594710926ef6e8525575c2e26e7 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 17:04:12 -0500 Subject: [PATCH 066/165] Move settings file --- .../vs-code-settings.json | 32 +++++++++++++------ .../User/snippets/myGlobal.code-snippets | 10 ------ vs_code.yml | 13 +++++++- 3 files changed, 35 insertions(+), 20 deletions(-) rename old/vs-code/User/settings.json => files/vs-code-settings.json (83%) diff --git a/old/vs-code/User/settings.json b/files/vs-code-settings.json similarity index 83% rename from old/vs-code/User/settings.json rename to files/vs-code-settings.json index a0eb5d8..582d31f 100644 --- a/old/vs-code/User/settings.json +++ b/files/vs-code-settings.json @@ -23,8 +23,6 @@ "workbench.sideBar.location": "right", "explorer.openEditors.visible": 0, "workbench.settings.editor": "json", - "breadcrumbs.enabled": false, - "workbench.activityBar.visible": true, "files.exclude": { "**/.git": false }, @@ -93,10 +91,8 @@ ], "compounds": [] }, - "svgviewer.showzoominout": true, "security.workspace.trust.untrustedFiles": "open", - "workbench.editor.untitled.hint": "hidden", - "intelephense.environment.phpVersion": "7.4.22", + "intelephense.environment.phpVersion": "8.0", "editor.inlineSuggest.enabled": true, "github.copilot.enable": { "*": true, @@ -107,7 +103,7 @@ "intelephense.environment.shortOpenTag": false, "intelephense.format.braces": "k&r", "editor.renderWhitespace": "none", - "php.validate.executablePath": "/usr/local/bin/php", + "php.validate.executablePath": "/opt/homebrew/bin/php", "json.maxItemsComputed": 15000, "intelephense.phpdoc.returnVoid": false, "php-docblocker.returnVoid": false, @@ -117,9 +113,27 @@ "[php]": { "editor.defaultFormatter": "valeryanm.vscode-phpsab" }, + "redhat.telemetry.enabled": false, + "phpstan.autoloadFile": "", + "phpstan.configuration": "", + "phpstan.level": "config", + "phpstan.memoryLimit": "-1M", + "phpstan.noProgress": false, + "[html]": { + "editor.defaultFormatter": "mohd-akram.vscode-html-format" + }, + "intelephense.telemetry.enabled": false, + "editor.unicodeHighlight.ambiguousCharacters": false, + "workbench.editor.empty.hint": "hidden", + "cSpell.enableFiletypes": [ + "md" + ], "cSpell.userWords": [ - "kwcusgs", - "Shortcode", - "USGS" + "Dokku", + "Lando", + "lighthouserc", + "lndo", + "Slic" ], + "diffEditor.ignoreTrimWhitespace": false, } \ No newline at end of file diff --git a/old/vs-code/User/snippets/myGlobal.code-snippets b/old/vs-code/User/snippets/myGlobal.code-snippets index 9f4fab3..f74c4d4 100644 --- a/old/vs-code/User/snippets/myGlobal.code-snippets +++ b/old/vs-code/User/snippets/myGlobal.code-snippets @@ -6,15 +6,5 @@ "error_log( print_r( $1, true ) );" ], "description": "Write to the WordPress Error Log." - }, - "box-sizing": { - "scope": "css,scss", - "prefix": "d-box-sizing", - "body": [ - "* {", - "\tbox-sizing: border-box;", - "}" - ], - "description": "The first line for all css." } } \ No newline at end of file diff --git a/vs_code.yml b/vs_code.yml index 43cd7c1..56ea91c 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -56,13 +56,18 @@ - GitHub.github-vscode-theme - jebbs.plantuml - johnbillion.vscode-wordpress-hooks + - mohd-akram.vscode-html-format + - ms-python.python + - ms-python.vscode-pylance - ms-vscode-remote.remote-containers - ms-vsliveshare.vsliveshare - naumovs.color-highlight - neilbrayfield.php-docblocker + - phproberto.vscode-php-getters-setters - PKief.material-icon-theme - redhat.vscode-yaml - sdras.night-owl + - SimonSiefke.svg-preview - SimplyDanny.modelica - streetsidesoftware.code-spell-checker - Tyriar.sort-lines @@ -73,4 +78,10 @@ - whatwedo.twig - wwm.better-align - xdebug.php-debug - \ No newline at end of file + + - name: Move VS Code Config + copy: + src: files/vs-code-settings.json + dest: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/settings.json + owner: "{{ lookup('env', 'USER') }}" + force: no \ No newline at end of file From 4841ab4c448399225f6c0327d1d0e465e7ca205e Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 17:09:11 -0500 Subject: [PATCH 067/165] change layout of MAS task --- vs_code.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index 56ea91c..426e6eb 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -83,5 +83,5 @@ copy: src: files/vs-code-settings.json dest: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/settings.json - owner: "{{ lookup('env', 'USER') }}" - force: no \ No newline at end of file + owner: "{{ lookup('env', 'USER') }}" + force: no \ No newline at end of file From 9c04cd6e7924a84fc6b1b584329d2a4b2bd27e77 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 17:14:09 -0500 Subject: [PATCH 068/165] change layout of MAS task --- vs_code.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index 426e6eb..426532f 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -81,7 +81,7 @@ - name: Move VS Code Config copy: - src: files/vs-code-settings.json + src: /files/vs-code-settings.json dest: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/settings.json owner: "{{ lookup('env', 'USER') }}" - force: no \ No newline at end of file + force: yes \ No newline at end of file From adb3ff24842ad762e3ea20190e56e8a3c8ffdb35 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 17:16:45 -0500 Subject: [PATCH 069/165] change layout of MAS task --- vs_code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vs_code.yml b/vs_code.yml index 426532f..6544f90 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -81,7 +81,7 @@ - name: Move VS Code Config copy: - src: /files/vs-code-settings.json + src: ./files/vs-code-settings.json dest: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/settings.json owner: "{{ lookup('env', 'USER') }}" force: yes \ No newline at end of file From 0bc7537a0a4c9f80aec0373ed5fbc082f5865739 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 17:25:06 -0500 Subject: [PATCH 070/165] add code snippets --- old/vs-code/User/snippets/css.json | 15 ------ .../User/snippets/myGlobal.code-snippets | 10 ---- old/vs-code/readme.md | 46 ------------------- vs_code.yml | 7 +++ 4 files changed, 7 insertions(+), 71 deletions(-) delete mode 100644 old/vs-code/User/snippets/css.json delete mode 100644 old/vs-code/User/snippets/myGlobal.code-snippets delete mode 100644 old/vs-code/readme.md diff --git a/old/vs-code/User/snippets/css.json b/old/vs-code/User/snippets/css.json deleted file mode 100644 index c6b1fce..0000000 --- a/old/vs-code/User/snippets/css.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - // Place your snippets for css here. Each snippet is defined under a snippet name and has a prefix, body and - // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: - // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the - // same ids are connected. - // Example: - // "Print to console": { - // "prefix": "log", - // "body": [ - // "console.log('$1');", - // "$2" - // ], - // "description": "Log output to console" - // } -} \ No newline at end of file diff --git a/old/vs-code/User/snippets/myGlobal.code-snippets b/old/vs-code/User/snippets/myGlobal.code-snippets deleted file mode 100644 index f74c4d4..0000000 --- a/old/vs-code/User/snippets/myGlobal.code-snippets +++ /dev/null @@ -1,10 +0,0 @@ -{ - "WP-Debug-Log": { - "scope": "php", - "prefix": "wp_error_log", - "body": [ - "error_log( print_r( $1, true ) );" - ], - "description": "Write to the WordPress Error Log." - } -} \ No newline at end of file diff --git a/old/vs-code/readme.md b/old/vs-code/readme.md deleted file mode 100644 index 4eb820f..0000000 --- a/old/vs-code/readme.md +++ /dev/null @@ -1,46 +0,0 @@ -# [VS Code](https://code.visualstudio.com/) - -```sh -brew cask install visual-studio-code -``` - -## Settings - -The settings for vs code are located in `~/Library/Application Support/Code/User/`. Copy the User folder from this repo there. - -## Extensions - -``` sh -code --install-extension bierner.markdown-mermaid -code --install-extension bmewburn.vscode-intelephense-client -code --install-extension bradlc.vscode-tailwindcss -code --install-extension breezelin.phpstan -code --install-extension cssho.vscode-svgviewer -code --install-extension DavidAnson.vscode-markdownlint -code --install-extension DotJoshJohnson.xml -code --install-extension eamodio.gitlens -code --install-extension EditorConfig.EditorConfig -code --install-extension formulahendry.auto-close-tag -code --install-extension formulahendry.auto-rename-tag -code --install-extension GitHub.codespaces -code --install-extension GitHub.github-vscode-theme -code --install-extension jebbs.plantuml -code --install-extension johnbillion.vscode-wordpress-hooks -code --install-extension ms-vscode-remote.remote-containers -code --install-extension ms-vsliveshare.vsliveshare -code --install-extension naumovs.color-highlight -code --install-extension neilbrayfield.php-docblocker -code --install-extension PKief.material-icon-theme -code --install-extension redhat.vscode-yaml -code --install-extension sdras.night-owl -code --install-extension SimplyDanny.modelica -code --install-extension streetsidesoftware.code-spell-checker -code --install-extension Tyriar.sort-lines -code --install-extension valeryanm.vscode-phpsab -code --install-extension vincaslt.highlight-matching-tag -code --install-extension Vue.volar -code --install-extension wayou.vscode-todo-highlight -code --install-extension whatwedo.twig -code --install-extension wwm.better-align -code --install-extension xdebug.php-debug -``` diff --git a/vs_code.yml b/vs_code.yml index 6544f90..c9ab266 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -84,4 +84,11 @@ src: ./files/vs-code-settings.json dest: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/settings.json owner: "{{ lookup('env', 'USER') }}" + force: yes + + - name: Move VS Code Snippets + copy: + src: ./files/vs-code-snippets.code-snippets + dest: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/snippets/myGlobal.code-snippets + owner: "{{ lookup('env', 'USER') }}" force: yes \ No newline at end of file From 9393e0b9dd2332c793801d31601bcde6c57271b4 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 17:25:17 -0500 Subject: [PATCH 071/165] add code snippets --- files/vs-code-snippets.code-snippets | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 files/vs-code-snippets.code-snippets diff --git a/files/vs-code-snippets.code-snippets b/files/vs-code-snippets.code-snippets new file mode 100644 index 0000000..f74c4d4 --- /dev/null +++ b/files/vs-code-snippets.code-snippets @@ -0,0 +1,10 @@ +{ + "WP-Debug-Log": { + "scope": "php", + "prefix": "wp_error_log", + "body": [ + "error_log( print_r( $1, true ) );" + ], + "description": "Write to the WordPress Error Log." + } +} \ No newline at end of file From 2a8ec6a37dfa9ec913e12de0660cc446ce0053e2 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 9 Nov 2023 17:32:50 -0500 Subject: [PATCH 072/165] Updates Readme --- readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/readme.md b/readme.md index 5f8818d..9dd8809 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,11 @@ # Mac OS setup via Ansible This repo is the setup process for my MacOS systems using ansible-pull. It will change over time. + +## Requirements + +Must have ansible installed. + +``` bash +ansible-pull -U URL_TO_GIT_REPO [-C BRANCH] [PLAYBOOK] +``` From b7fc8919074d80fbd07b382d7c2f6f9f01070d2b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 10 Nov 2023 20:55:28 -0500 Subject: [PATCH 073/165] Add python3 --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index 916ae84..91c3693 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -66,5 +66,6 @@ - composer - mas - nvm + - python3 - tmux state: present \ No newline at end of file From e37f856480f16c71fad190fa08a70449d3887175 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Sat, 11 Nov 2023 22:28:44 -0500 Subject: [PATCH 074/165] Add php 8.0 and php 8.1 --- homebrew.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homebrew.yml b/homebrew.yml index 91c3693..a63b0e3 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -66,6 +66,8 @@ - composer - mas - nvm + - php@8.0 + - php@8.1 - python3 - tmux state: present \ No newline at end of file From f4a78e1551d753adb960a7f74f565b531eefb8a1 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Sat, 11 Nov 2023 22:34:39 -0500 Subject: [PATCH 075/165] Link php 8.1 --- homebrew.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index a63b0e3..13ca627 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -70,4 +70,16 @@ - php@8.1 - python3 - tmux - state: present \ No newline at end of file + state: present + + - name: Unlink php@8.2 + community.general.homebrew: + name: + - php@8.2 + state: unlinked + + - name: Link php@8.1 + community.general.homebrew: + name: + - php@8.1 + state: linked \ No newline at end of file From 66dc70a6e316a0af0278d8081d5c745aa749d322 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Sat, 11 Nov 2023 22:40:19 -0500 Subject: [PATCH 076/165] Install both php8.0 and 8.1 --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index 13ca627..89c36ab 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -66,6 +66,7 @@ - composer - mas - nvm + - php - php@8.0 - php@8.1 - python3 From 0b468e9f148e5b889ff3b28cc208b914dc736df2 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Sat, 11 Nov 2023 22:54:48 -0500 Subject: [PATCH 077/165] add lando to brew cask --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index 89c36ab..8c9d59c 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -48,6 +48,7 @@ - google-chrome - imageOptim - iterm2 + - lando - local - orbstack - postman From faa94d9bcb1b92554fd3ccb3a792c7c9424c5d91 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Sun, 12 Nov 2023 00:11:20 -0500 Subject: [PATCH 078/165] Update php path --- files/vs-code-settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/vs-code-settings.json b/files/vs-code-settings.json index 582d31f..38414ae 100644 --- a/files/vs-code-settings.json +++ b/files/vs-code-settings.json @@ -103,7 +103,7 @@ "intelephense.environment.shortOpenTag": false, "intelephense.format.braces": "k&r", "editor.renderWhitespace": "none", - "php.validate.executablePath": "/opt/homebrew/bin/php", + "php.validate.executablePath": "/usr/local/bin/php", "json.maxItemsComputed": 15000, "intelephense.phpdoc.returnVoid": false, "php-docblocker.returnVoid": false, From acb9c9ae8d55aa510c5549244be907f740458bf6 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Sun, 12 Nov 2023 00:23:40 -0500 Subject: [PATCH 079/165] Remove php 8.1 and 8.0 --- homebrew.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index 8c9d59c..a4197f4 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -68,20 +68,6 @@ - mas - nvm - php - - php@8.0 - - php@8.1 - python3 - tmux state: present - - - name: Unlink php@8.2 - community.general.homebrew: - name: - - php@8.2 - state: unlinked - - - name: Link php@8.1 - community.general.homebrew: - name: - - php@8.1 - state: linked \ No newline at end of file From 47c9fb75a72e2ff39e1da59ddcbdfa5483d355dc Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 16 Nov 2023 21:59:28 -0500 Subject: [PATCH 080/165] add jq to brew --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index a4197f4..3ea3ff8 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -65,6 +65,7 @@ community.general.homebrew: name: - composer + - jq - mas - nvm - php From 7751374c46ea08736a2357022fd17357355434d3 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 16 Nov 2023 22:37:42 -0500 Subject: [PATCH 081/165] Add oh-my-zsh --- files/.aliases.zsh.j2 | 4 ++ files/.zshrc.j2 | 107 ++++++++++++++++++++++++++++++++++++++++++ zsh.yml | 24 ++++++++++ 3 files changed, 135 insertions(+) create mode 100644 files/.aliases.zsh.j2 create mode 100644 files/.zshrc.j2 create mode 100644 zsh.yml diff --git a/files/.aliases.zsh.j2 b/files/.aliases.zsh.j2 new file mode 100644 index 0000000..fdb27dd --- /dev/null +++ b/files/.aliases.zsh.j2 @@ -0,0 +1,4 @@ +alias zshconfig="code ~/.zshrc" +alias dokku='ssh -t dokku@moderntribe.qa' +alias dokku-t4='ssh -t dokku@t4.moderntribe.qa' +alias dokku-dev='ssh -t dokku@d1.moderntribe.qa' \ No newline at end of file diff --git a/files/.zshrc.j2 b/files/.zshrc.j2 new file mode 100644 index 0000000..628df99 --- /dev/null +++ b/files/.zshrc.j2 @@ -0,0 +1,107 @@ +# If you come from bash you might have to change your $PATH. +#export PATH=$HOME/bin:/usr/local/bin:~/.composer/vendor/bin:/usr/local/sbin:$PATH + +# Path to your oh-my-zsh installation. +export ZSH="$HOME/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +# ZSH_THEME="robbyrussell" +ZSH_THEME="cobalt2" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment the following line to disable bi-weekly auto-update checks. +# DISABLE_AUTO_UPDATE="true" + +# Uncomment the following line to automatically update without prompting. +# DISABLE_UPDATE_PROMPT="true" + +# Uncomment the following line to change how often to auto-update (in days). +# export UPDATE_ZSH_DAYS=13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS=true + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in ~/.oh-my-zsh/plugins/* +# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +export XDEBUG_CONFIG="idekey=VSCODE" +export PATH="/usr/local/sbin:$PATH" +export PATH="$HOME/Code/repos/slic:$PATH" +export NVM_DIR="$HOME/.nvm" + +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +source ~/.aliases.zsh \ No newline at end of file diff --git a/zsh.yml b/zsh.yml new file mode 100644 index 0000000..cbc3510 --- /dev/null +++ b/zsh.yml @@ -0,0 +1,24 @@ +--- +- hosts: localhost + connection: local + become: false + + tasks: + - name: Install Oh My ZSH + shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" + args: + creates: "/Users/{{ lookup('env', 'USER') }}/.oh-my-zsh" + + - name: "Create a default ZSH configuration" + template: + src: files/.zshrc.j2 + dest: /Users/{{ lookup('env', 'USER') }}/.zshrc + owner: "{{ lookup('env', 'USER') }}" + force: yes + + - name: "Copy Aliases File" + template: + src: files/.aliases.zsh.j2 + dest: /Users/{{ lookup('env', 'USER') }}/.aliases.zsh + owner: "{{ lookup('env', 'USER') }}" + force: yes From 764133cab34f8b59ff8b7d570ba42b71dd3874f0 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 16 Nov 2023 22:40:49 -0500 Subject: [PATCH 082/165] Remove old zsh files --- old/zsh/.zshrc | 113 ---------------------------------------------- old/zsh/readme.md | 10 ---- 2 files changed, 123 deletions(-) delete mode 100644 old/zsh/.zshrc delete mode 100644 old/zsh/readme.md diff --git a/old/zsh/.zshrc b/old/zsh/.zshrc deleted file mode 100644 index c49672f..0000000 --- a/old/zsh/.zshrc +++ /dev/null @@ -1,113 +0,0 @@ -# If you come from bash you might have to change your $PATH. -#export PATH=$HOME/bin:/usr/local/bin:~/.composer/vendor/bin:/usr/local/sbin:$PATH - -# Path to your oh-my-zsh installation. -export ZSH="/Users/kindred/.oh-my-zsh" - -# Set name of the theme to load --- if set to "random", it will -# load a random theme each time oh-my-zsh is loaded, in which case, -# to know which specific one was loaded, run: echo $RANDOM_THEME -# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -# ZSH_THEME="robbyrussell" -ZSH_THEME="cobalt2" - -# Set list of themes to pick from when loading at random -# Setting this variable when ZSH_THEME=random will cause zsh to load -# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/ -# If set to an empty array, this variable will have no effect. -# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) - -# Uncomment the following line to use case-sensitive completion. -# CASE_SENSITIVE="true" - -# Uncomment the following line to use hyphen-insensitive completion. -# Case-sensitive completion must be off. _ and - will be interchangeable. -# HYPHEN_INSENSITIVE="true" - -# Uncomment the following line to disable bi-weekly auto-update checks. -# DISABLE_AUTO_UPDATE="true" - -# Uncomment the following line to automatically update without prompting. -# DISABLE_UPDATE_PROMPT="true" - -# Uncomment the following line to change how often to auto-update (in days). -# export UPDATE_ZSH_DAYS=13 - -# Uncomment the following line if pasting URLs and other text is messed up. -# DISABLE_MAGIC_FUNCTIONS=true - -# Uncomment the following line to disable colors in ls. -# DISABLE_LS_COLORS="true" - -# Uncomment the following line to disable auto-setting terminal title. -# DISABLE_AUTO_TITLE="true" - -# Uncomment the following line to enable command auto-correction. -# ENABLE_CORRECTION="true" - -# Uncomment the following line to display red dots whilst waiting for completion. -# COMPLETION_WAITING_DOTS="true" - -# Uncomment the following line if you want to disable marking untracked files -# under VCS as dirty. This makes repository status check for large repositories -# much, much faster. -# DISABLE_UNTRACKED_FILES_DIRTY="true" - -# Uncomment the following line if you want to change the command execution time -# stamp shown in the history command output. -# You can set one of the optional three formats: -# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" -# or set a custom format using the strftime function format specifications, -# see 'man strftime' for details. -# HIST_STAMPS="mm/dd/yyyy" - -# Would you like to use another custom folder than $ZSH/custom? -# ZSH_CUSTOM=/path/to/new-custom-folder - -# Which plugins would you like to load? -# Standard plugins can be found in ~/.oh-my-zsh/plugins/* -# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ -# Example format: plugins=(rails git textmate ruby lighthouse) -# Add wisely, as too many plugins slow down shell startup. -plugins=(git) - -source $ZSH/oh-my-zsh.sh - -# User configuration - -# export MANPATH="/usr/local/man:$MANPATH" - -# You may need to manually set your language environment -# export LANG=en_US.UTF-8 - -# Preferred editor for local and remote sessions -# if [[ -n $SSH_CONNECTION ]]; then -# export EDITOR='vim' -# else -# export EDITOR='mvim' -# fi - -# Compilation flags -# export ARCHFLAGS="-arch x86_64" - -# Set personal aliases, overriding those provided by oh-my-zsh libs, -# plugins, and themes. Aliases can be placed here, though oh-my-zsh -# users are encouraged to define aliases within the ZSH_CUSTOM folder. -# For a full list of active aliases, run `alias`. -# -# Example aliases -alias zshconfig="code ~/.zshrc" - -export XDEBUG_CONFIG="idekey=VSCODE" -export PATH="/usr/local/sbin:$PATH" -export PATH="$HOME/Code/repos/slic:$PATH" -export NVM_DIR="$HOME/.nvm" - -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion -source ~/.squareone_completion.zsh - - -alias dokku='ssh -t dokku@moderntribe.qa' -alias dokku-t4='ssh -t dokku@t4.moderntribe.qa' -alias dokku-dev='ssh -t dokku@d1.moderntribe.qa' \ No newline at end of file diff --git a/old/zsh/readme.md b/old/zsh/readme.md deleted file mode 100644 index b0067b2..0000000 --- a/old/zsh/readme.md +++ /dev/null @@ -1,10 +0,0 @@ -# ZSH Setup - -``` sh -sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - -wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -sh install.sh -``` - -Copy the `.zshrc` file into the home root directory and then source the file. From 2c9cc5af00f62ac5cd72742b608d3496b44ef230 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 16 Nov 2023 23:17:08 -0500 Subject: [PATCH 083/165] update readme for mac os terminal commands --- old/readme.md | 54 ++++++++++----------------------------------------- 1 file changed, 10 insertions(+), 44 deletions(-) diff --git a/old/readme.md b/old/readme.md index 105f9d8..c5896d3 100644 --- a/old/readme.md +++ b/old/readme.md @@ -4,70 +4,36 @@ This repo documents the current setup that I am using. The goal is to setup a single script to install everything in the case of needing to wipe a computer but just documenting the process is good too. -## Applications - -- [1password7](https://1password.com/) * -- [Alphed 4](https://www.alfredapp.com/) -- [Brave Browser](https://brave.com) -- [Google Chrome](https://www.google.com/chrome/) -- [ImageOptim](https://imageoptim.com/mac) -- [iTerm](https://iterm2.com/) -- [Local by Flywheel](https://localbyflywheel.com/) -- [Postman](https://www.getpostman.com/) -- [Slack](https://slack.com/) -- [Things](https://culturedcode.com/things/) * -- [Transmit](https://panic.com/transmit/) -- [VS Code](vs-code/readme.md) -- [Docker](https://docs.docker.com/desktop/mac/apple-silicon/) -- [Lando]() -- [ScreenFlow]() - -*Available through the App Store - -## Development Environment Items - -- Brew -- [Fira-Code Font](https://github.com/tonsky/FiraCode) -- Composer -- zsh & oh-my-zsh -- Git -- NPM -- homestead -- PHPCS -- WPCS - ## OS Settings - Set the Dock to `Automatically hide and show the dock`. - Set the icons to be smallest possible size. - Don't `Animate opening applications` -#### Remove Dock Show Delay +## Remove Dock Show Delay. One of the issues with hiding the dock is the delay that it has when showing. The below command removes that delay. ``` sh defaults write com.apple.Dock autohide-delay -float 0; killall Dock + +defaults write com.apple.dock autohide-time-modifier -float .5; killall Dock +defaults write com.apple.dock tilesize -integer 8; killall Dock +defaults write com.apple.dock largesize -integer 128; killall Dock + +defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder + ``` -#### Hold Down key for repeat +## Hold Down key for repeat ``` sh defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false ``` -#### Custom screenshot path +## Custom screenshot path ``` sh mkdir ~/Pictures/screenshots defaults write com.apple.screencapture location ~/Pictures/screenshots && killall SystemUIServer ``` - -### Brew Install a few things - -``` sh -brew tap homebrew/cask-fonts -brew install --cask iterm2 alfred slack visual-studio-code 1password droplr zoom brave-browser tableplus transmit font-fira-code-nerd-font tinkerwell postman google-chrome imageoptim postman spaceship php composer nvm local -``` - -Some depending on the chipset (Apple/Intel) some of these apps might need to be reinstalled through their websites. From d7db2778e51e97c4a76c5a86b1296ce262f07424 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 21 Nov 2023 14:59:49 -0500 Subject: [PATCH 084/165] Add aws and terraform code extension --- homebrew.yml | 1 + vs_code.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/homebrew.yml b/homebrew.yml index 3ea3ff8..db93c89 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -64,6 +64,7 @@ - name: Install core packages via brew community.general.homebrew: name: + - aws - composer - jq - mas diff --git a/vs_code.yml b/vs_code.yml index c9ab266..3141859 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -54,6 +54,7 @@ - formulahendry.auto-rename-tag - GitHub.codespaces - GitHub.github-vscode-theme + - hashicorp.terraform - jebbs.plantuml - johnbillion.vscode-wordpress-hooks - mohd-akram.vscode-html-format From 7aabf365536624e82d35e2d45a1b5161a081c5de Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 21 Nov 2023 21:23:59 -0500 Subject: [PATCH 085/165] Adds terraform via brew --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index db93c89..8135856 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -71,5 +71,6 @@ - nvm - php - python3 + - terraform - tmux state: present From 94a43ef16c8dc8a3ace63876fe61a6dc5c03acbc Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 09:58:56 -0500 Subject: [PATCH 086/165] Add ThingsHelper for QuickEntry with Autofill --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index 8135856..4a45eec 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -55,6 +55,7 @@ - screenflow - slack - tableplus + - thingsmacsandboxhelper - transmit - visual-studio-code - zoom From f51c32df3dd0c130ece2daafcc8b35e9bb5f9632 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 15:09:11 -0500 Subject: [PATCH 087/165] Fix type in awscli brew install --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 4a45eec..006c565 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -65,7 +65,7 @@ - name: Install core packages via brew community.general.homebrew: name: - - aws + - awscli - composer - jq - mas From b34cb90d35ba185bd6272e633049bffd4f5ef7a2 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:20:37 -0500 Subject: [PATCH 088/165] Remove spotlight search value --- mac_os_apps.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 3e584d4..2a4ff87 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -10,3 +10,14 @@ - 1569813296 # 1Password for Safari - 904280696 # Things 3 - 441258766 # Magnet + + - name: Get Show Spotlight Search Value + shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" + register: ShowSpotlightSearch + + + - name: Set Plist Things + shell: | + /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" + when: + - ShowSpotlightSearch.stdout = "true" From 2430d475080486000ed9e4bb9df77275a851779e Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:24:04 -0500 Subject: [PATCH 089/165] update true value --- mac_os_apps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 2a4ff87..ab61c3b 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -20,4 +20,4 @@ shell: | /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" when: - - ShowSpotlightSearch.stdout = "true" + - ShowSpotlightSearch.stdout == "true" From 8e7fabd2fe03c1fe4a4bda01f7331482bd57a845 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:25:15 -0500 Subject: [PATCH 090/165] reset --- mac_os_apps.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index ab61c3b..fe15bb6 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -19,5 +19,7 @@ - name: Set Plist Things shell: | /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" + /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u + when: - ShowSpotlightSearch.stdout == "true" From 326db0a2945f1209b9b1308a6d3ff11aa47bb0c1 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:30:17 -0500 Subject: [PATCH 091/165] update stdout --- mac_os_apps.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index fe15bb6..258be9d 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -20,6 +20,5 @@ shell: | /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u - when: - - ShowSpotlightSearch.stdout == "true" + - ShowSpotlightSearch.stdout == true From 1b742741725d94e9544665625139787fe4a0bbd9 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:32:34 -0500 Subject: [PATCH 092/165] update value --- mac_os_apps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 258be9d..d3e3d93 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -21,4 +21,4 @@ /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u when: - - ShowSpotlightSearch.stdout == true + - ShowSpotlightSearch.stdout == "true" From 26748b4eff71f81724759780fe1c70819f4735c8 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:38:07 -0500 Subject: [PATCH 093/165] Debug --- mac_os_apps.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index d3e3d93..0841051 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -14,6 +14,8 @@ - name: Get Show Spotlight Search Value shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" register: ShowSpotlightSearch + - debug: + msg: {{ShowSpotlightSearch.stdout}} - name: Set Plist Things From 0591814c0fb96c7ae1179f9412050a6f10e3a273 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:39:21 -0500 Subject: [PATCH 094/165] Add quotes --- mac_os_apps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 0841051..bbb0b96 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -15,7 +15,7 @@ shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" register: ShowSpotlightSearch - debug: - msg: {{ShowSpotlightSearch.stdout}} + msg: "{{ShowSpotlightSearch.stdout}}" - name: Set Plist Things From 1c2efa11f6821e9a3e141a54842b755fbe6947b0 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:40:09 -0500 Subject: [PATCH 095/165] debug --- mac_os_apps.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index bbb0b96..4a1651d 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -14,8 +14,7 @@ - name: Get Show Spotlight Search Value shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" register: ShowSpotlightSearch - - debug: - msg: "{{ShowSpotlightSearch.stdout}}" + - debug: "{{ShowSpotlightSearch.stdout}}" - name: Set Plist Things From 7df51357874284cc9c7900c741589b330423c657 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:43:18 -0500 Subject: [PATCH 096/165] debug --- mac_os_apps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 4a1651d..b9da57f 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -14,7 +14,7 @@ - name: Get Show Spotlight Search Value shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" register: ShowSpotlightSearch - - debug: "{{ShowSpotlightSearch.stdout}}" + - debug: "{{ShowSpotlightSearch}}" - name: Set Plist Things From a4a127abd77fb9ca6d0548ac3267839892b8f81b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:45:57 -0500 Subject: [PATCH 097/165] debug --- mac_os_apps.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index b9da57f..3fc2465 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -14,7 +14,8 @@ - name: Get Show Spotlight Search Value shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" register: ShowSpotlightSearch - - debug: "{{ShowSpotlightSearch}}" + - debug: + msg: ShowSpotlightSearch = "{{ShowSpotlightSearch.stdout}}" - name: Set Plist Things From 5b10df89cfdc4ce10235956f56601d81bd9db7df Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:46:43 -0500 Subject: [PATCH 098/165] debug --- mac_os_apps.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 3fc2465..659d8f7 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -14,6 +14,7 @@ - name: Get Show Spotlight Search Value shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" register: ShowSpotlightSearch + - debug: msg: ShowSpotlightSearch = "{{ShowSpotlightSearch.stdout}}" From d866f030e5d00ae206866529fe8335e3e8918c17 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:47:22 -0500 Subject: [PATCH 099/165] debug --- mac_os_apps.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 659d8f7..eb14078 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -14,9 +14,10 @@ - name: Get Show Spotlight Search Value shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" register: ShowSpotlightSearch - - - debug: - msg: ShowSpotlightSearch = "{{ShowSpotlightSearch.stdout}}" + + - name: debug + debug: + msg: ShowSpotlightSearch = "{{ShowSpotlightSearch.stdout}}" - name: Set Plist Things From 9ab9bde1ba9a49c3f8816db9d6e4e1bfa1b00d6d Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:49:51 -0500 Subject: [PATCH 100/165] debug --- mac_os_apps.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index eb14078..2f5810d 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -17,9 +17,8 @@ - name: debug debug: - msg: ShowSpotlightSearch = "{{ShowSpotlightSearch.stdout}}" + var: ShowSpotlightSearch - - name: Set Plist Things shell: | /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" From d4a5c22788bc93f206b9c82aab51a10f4a5800e4 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Dec 2023 22:52:32 -0500 Subject: [PATCH 101/165] debug --- mac_os_apps.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 2f5810d..c5d732b 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -14,10 +14,12 @@ - name: Get Show Spotlight Search Value shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" register: ShowSpotlightSearch + changed_when: False - name: debug debug: var: ShowSpotlightSearch + verbosity: 2 - name: Set Plist Things shell: | From 1cfb63b560835c0c9bf5d67bbf7ad343c90a24f6 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Mar 2024 19:16:32 -0500 Subject: [PATCH 102/165] Change for apple Mx processor --- homebrew.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index 006c565..b1c32c9 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -6,9 +6,9 @@ install_homebrew_if_missing: false pre_tasks: - - name: Ensuring Homebrew Is Installed + - name: Ensuring Homebrew Is Installed (Apple) stat: - path: /usr/local/bin/brew + path: /opt/homebrew/bin/brew register: homebrew_check - name: Fail if homebrew is not installed and install_homebrew_if_missing is False From 0248f8979311d29ac3317fc15f6782e1b8fa1885 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Mar 2024 19:36:40 -0500 Subject: [PATCH 103/165] remove lando and local intalls --- homebrew.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index b1c32c9..bae2e00 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -48,8 +48,6 @@ - google-chrome - imageOptim - iterm2 - - lando - - local - orbstack - postman - screenflow From a171244df35ed0dbbba717676ee5fc795ce41357 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Mar 2024 20:00:14 -0500 Subject: [PATCH 104/165] Add correct homebrew path for vs_code.yml --- vs_code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vs_code.yml b/vs_code.yml index 3141859..a3af0ee 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -6,7 +6,7 @@ pre_tasks: - name: Ensuring Homebrew Is Installed stat: - path: /usr/local/bin/brew + path: /opt/homebrew/bin/brew register: homebrew_check - name: Fail if homebrew is not installed and install_homebrew_if_missing is False From b0ce823205f0d1e9ca220ec1319269c015d7eadb Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Mar 2024 20:06:06 -0500 Subject: [PATCH 105/165] remove extra svg preview extension --- vs_code.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/vs_code.yml b/vs_code.yml index a3af0ee..4d9e4c8 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -45,7 +45,6 @@ - bradlc.vscode-tailwindcss - breezelin.phpstan - chouzz.vscode-better-align - - cssho.vscode-svgviewer - DavidAnson.vscode-markdownlint - DotJoshJohnson.xml - eamodio.gitlens From be1ce92a0317c810ddabc58615b23fe087c43014 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Mar 2024 20:11:52 -0500 Subject: [PATCH 106/165] Remove better align by wwm --- vs_code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vs_code.yml b/vs_code.yml index 4d9e4c8..6b91467 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -45,6 +45,7 @@ - bradlc.vscode-tailwindcss - breezelin.phpstan - chouzz.vscode-better-align + - chouzz.vscode-better-align - DavidAnson.vscode-markdownlint - DotJoshJohnson.xml - eamodio.gitlens @@ -76,7 +77,6 @@ - Vue.volar - wayou.vscode-todo-highlight - whatwedo.twig - - wwm.better-align - xdebug.php-debug - name: Move VS Code Config From e492dc57b5e8c56add7160cb7f611794a3f781cf Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 7 Mar 2024 20:16:59 -0500 Subject: [PATCH 107/165] remove plist items --- mac_os_apps.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index c5d732b..e8c99be 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -11,19 +11,19 @@ - 904280696 # Things 3 - 441258766 # Magnet - - name: Get Show Spotlight Search Value - shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" - register: ShowSpotlightSearch - changed_when: False + # - name: Get Show Spotlight Search Value + # shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" + # register: ShowSpotlightSearch + # changed_when: False - - name: debug - debug: - var: ShowSpotlightSearch - verbosity: 2 + # - name: debug + # debug: + # var: ShowSpotlightSearch + # verbosity: 2 - - name: Set Plist Things - shell: | - /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" - /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u - when: - - ShowSpotlightSearch.stdout == "true" + # - name: Set Plist Things + # shell: | + # /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" + # /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u + # when: + # - ShowSpotlightSearch.stdout == "true" From e8c9527cade85ee675d784a4cdc9f274c6f4416c Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 8 Mar 2024 15:14:56 -0500 Subject: [PATCH 108/165] Remove duplicate extension --- vs_code.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/vs_code.yml b/vs_code.yml index 6b91467..9f5cfcc 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -45,7 +45,6 @@ - bradlc.vscode-tailwindcss - breezelin.phpstan - chouzz.vscode-better-align - - chouzz.vscode-better-align - DavidAnson.vscode-markdownlint - DotJoshJohnson.xml - eamodio.gitlens From c724a2701ab707f653b70b6c6e96c898e63a4a54 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 8 Mar 2024 17:08:07 -0500 Subject: [PATCH 109/165] Signed Commit? From 253756498494ccdc5e04f2dcd5f06051fcbddd7b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Mon, 10 Jun 2024 16:16:02 -0400 Subject: [PATCH 110/165] Adds WP CLI to homebrew setup --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index bae2e00..14d057e 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -72,4 +72,5 @@ - python3 - terraform - tmux + - wp-cli state: present From 92399538cb5a858fd127403572a7dc161b1ab6eb Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Mon, 10 Jun 2024 16:20:56 -0400 Subject: [PATCH 111/165] Update vs-code-settings --- files/vs-code-settings.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/vs-code-settings.json b/files/vs-code-settings.json index 38414ae..8202509 100644 --- a/files/vs-code-settings.json +++ b/files/vs-code-settings.json @@ -2,14 +2,14 @@ "editor.lineHeight": 22, "editor.fontFamily": "Fira Code", "editor.fontLigatures": true, - "editor.fontSize": 11, + "editor.fontSize": 13, "editor.rulers": [80], "editor.insertSpaces": false, "editor.tabSize": 4, "debug.allowBreakpointsEverywhere": true, "terminal.external.osxExec": "iterm.app", - "terminal.integrated.fontFamily": "Fira Code", - "terminal.integrated.fontSize": 11, + "terminal.integrated.fontFamily": "Inconsolata for Powerline", + "terminal.integrated.fontSize": 12, "terminal.integrated.lineHeight": 1.5, "workbench.startupEditor": "newUntitledFile", "workbench.fontAliasing": "antialiased", From c0cd38a3e66ab121b09d6a216298cbce7200b34e Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Mon, 17 Jun 2024 09:29:07 -0400 Subject: [PATCH 112/165] adds ffmpeg and appcleaner to homebrew --- homebrew.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homebrew.yml b/homebrew.yml index 14d057e..80742c3 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -42,6 +42,7 @@ name: - 1password - alfred + - appcleaner - arc - droplr - font-fira-code-nerd-font @@ -65,6 +66,7 @@ name: - awscli - composer + - ffmpeg - jq - mas - nvm From 8908daf7336a8c979d911428079ad8e7cf1295eb Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 10:49:37 -0400 Subject: [PATCH 113/165] Update readme, remove cask-fonts --- homebrew.yml | 6 ------ readme.md | 16 ++++++++++++++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index 80742c3..687cd06 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -30,12 +30,6 @@ update_homebrew: true upgrade: true when: homebrew_check.stat.exists - - - name: 'add custom homebrew repos' - community.general.homebrew_tap: - name: [ - homebrew/cask-fonts, - ] - name: Install core packages via brew casks community.general.homebrew_cask: diff --git a/readme.md b/readme.md index 9dd8809..41e4aec 100644 --- a/readme.md +++ b/readme.md @@ -2,9 +2,21 @@ This repo is the setup process for my MacOS systems using ansible-pull. It will change over time. -## Requirements +## Getting Started -Must have ansible installed. +Install Homebrew + +``` bash +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +``` + +Install Ansible with Homebrew + +``` bash +brew install ansible +``` + +Run ansible-pull ``` bash ansible-pull -U URL_TO_GIT_REPO [-C BRANCH] [PLAYBOOK] From dab3b229ba2390daaf4883bc905cb5f0eab70d85 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 13:09:31 -0400 Subject: [PATCH 114/165] Update autohide values for dock --- dock.yml | 22 ++++++++++++++++++++++ files/.aliases.zsh.j2 | 5 +---- 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 dock.yml diff --git a/dock.yml b/dock.yml new file mode 100644 index 0000000..0690212 --- /dev/null +++ b/dock.yml @@ -0,0 +1,22 @@ +--- +- hosts: localhost + connection: local + become: false + + tasks: + - name: Set autohide to true + community.general.osx_defaults: + domain: com.apple.dock + key: autohide + type: bool + value: true + state: present + + - name: Set autohide-delay to 0 + community.general.osx_defaults: + domain: com.apple.dock + key: autohide-delay + type: float + value: 0 + state: present + \ No newline at end of file diff --git a/files/.aliases.zsh.j2 b/files/.aliases.zsh.j2 index fdb27dd..cb46085 100644 --- a/files/.aliases.zsh.j2 +++ b/files/.aliases.zsh.j2 @@ -1,4 +1 @@ -alias zshconfig="code ~/.zshrc" -alias dokku='ssh -t dokku@moderntribe.qa' -alias dokku-t4='ssh -t dokku@t4.moderntribe.qa' -alias dokku-dev='ssh -t dokku@d1.moderntribe.qa' \ No newline at end of file +alias zshconfig="code ~/.zshrc" \ No newline at end of file From d1fc054d82f43617934dd3009550717937324f34 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 13:17:56 -0400 Subject: [PATCH 115/165] Add dock reload if something changes --- dock.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dock.yml b/dock.yml index 0690212..ca98966 100644 --- a/dock.yml +++ b/dock.yml @@ -11,6 +11,8 @@ type: bool value: true state: present + changed_when: True + notify: Reload Dock - name: Set autohide-delay to 0 community.general.osx_defaults: @@ -19,4 +21,9 @@ type: float value: 0 state: present - \ No newline at end of file + changed_when: True + notify: Reload Dock + + handlers: + - name: Reload Dock + shell: killall Dock \ No newline at end of file From b023984b3d5e3425c4c7d860f9559c452036627c Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 13:24:33 -0400 Subject: [PATCH 116/165] clear the plist cache after saving. --- dock.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dock.yml b/dock.yml index ca98966..a4914f4 100644 --- a/dock.yml +++ b/dock.yml @@ -3,6 +3,10 @@ connection: local become: false + pre_tasks: + - name: Clear OSX Plist Cache + shell: killall -u {{ lookup('env', 'USER') }} cfprefsd + tasks: - name: Set autohide to true community.general.osx_defaults: From 93e71997bc09ea43b43239ccc1598744542a3ec5 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 13:25:12 -0400 Subject: [PATCH 117/165] clear the plist cache after saving. --- dock.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dock.yml b/dock.yml index a4914f4..09b3acd 100644 --- a/dock.yml +++ b/dock.yml @@ -3,10 +3,6 @@ connection: local become: false - pre_tasks: - - name: Clear OSX Plist Cache - shell: killall -u {{ lookup('env', 'USER') }} cfprefsd - tasks: - name: Set autohide to true community.general.osx_defaults: @@ -30,4 +26,4 @@ handlers: - name: Reload Dock - shell: killall Dock \ No newline at end of file + shell: killall -u {{ lookup('env', 'USER') }} cfprefsd && killall Dock \ No newline at end of file From 1c05201d1588f3fb418b9a51f4eebf117c182ea5 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 13:32:11 -0400 Subject: [PATCH 118/165] update state for dock --- dock.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/dock.yml b/dock.yml index 09b3acd..896f128 100644 --- a/dock.yml +++ b/dock.yml @@ -10,7 +10,6 @@ key: autohide type: bool value: true - state: present changed_when: True notify: Reload Dock @@ -20,7 +19,6 @@ key: autohide-delay type: float value: 0 - state: present changed_when: True notify: Reload Dock From 8db320c2260fbb45bde558fa9b3e65013a4faddb Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 13:59:42 -0400 Subject: [PATCH 119/165] remove changed when value --- dock.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/dock.yml b/dock.yml index 896f128..5b50b30 100644 --- a/dock.yml +++ b/dock.yml @@ -10,7 +10,6 @@ key: autohide type: bool value: true - changed_when: True notify: Reload Dock - name: Set autohide-delay to 0 @@ -19,7 +18,6 @@ key: autohide-delay type: float value: 0 - changed_when: True notify: Reload Dock handlers: From 6808db92b3a40687405e1907bb7932aac4501bfd Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:32:40 -0400 Subject: [PATCH 120/165] Adds Dock Defaults --- dock.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/dock.yml b/dock.yml index 5b50b30..3476bff 100644 --- a/dock.yml +++ b/dock.yml @@ -20,6 +20,30 @@ value: 0 notify: Reload Dock + - name: Set dock magnification + community.general.osx_defaults: + domain: com.apple.dock + key: magnification + type: bool + value: true + notify: Reload Dock + + - name: Set Magnification Size + community.general.osx_defaults: + domain: com.apple.dock + key: largesize + type: inst + value: 128 + notify: Reload Dock + + - name: Set default tilesize + community.general.osx_defaults: + domain: com.apple.dock + key: tilesize + type: int + value: 16 + notify: Reload Dock + handlers: - name: Reload Dock shell: killall -u {{ lookup('env', 'USER') }} cfprefsd && killall Dock \ No newline at end of file From b0978ec106c2f382172abb2ceeb4f5540f034591 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:34:00 -0400 Subject: [PATCH 121/165] fix typo --- dock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dock.yml b/dock.yml index 3476bff..e8380ed 100644 --- a/dock.yml +++ b/dock.yml @@ -32,7 +32,7 @@ community.general.osx_defaults: domain: com.apple.dock key: largesize - type: inst + type: int value: 128 notify: Reload Dock From 936478d796220b4c6bed727c84ba0c18c7393240 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:39:06 -0400 Subject: [PATCH 122/165] Set minimize to application --- dock.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dock.yml b/dock.yml index e8380ed..865f443 100644 --- a/dock.yml +++ b/dock.yml @@ -44,6 +44,14 @@ value: 16 notify: Reload Dock + - name: Set minimize to application value + community.general.osx_defaults: + domain: com.apple.dock + key: minimize-to-application + type: bool + value: true + notify: Reload Dock + handlers: - name: Reload Dock shell: killall -u {{ lookup('env', 'USER') }} cfprefsd && killall Dock \ No newline at end of file From 8b7669e7637e17431ef57f2c55b39d12305a3322 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:46:10 -0400 Subject: [PATCH 123/165] add cobalt2.zsh-theme --- files/iterm/cobalt2.zsh-theme | 102 ++++++++++++++++++++++++++++++++++ zsh.yml | 7 +++ 2 files changed, 109 insertions(+) create mode 100644 files/iterm/cobalt2.zsh-theme diff --git a/files/iterm/cobalt2.zsh-theme b/files/iterm/cobalt2.zsh-theme new file mode 100644 index 0000000..28f5430 --- /dev/null +++ b/files/iterm/cobalt2.zsh-theme @@ -0,0 +1,102 @@ +# +# Cobalt2 Theme - https://github.com/wesbos/Cobalt2-iterm +# +# # README +# +# In order for this theme to render correctly, you will need a +# [Powerline-patched font](https://gist.github.com/1595572). +## +### Segment drawing +# A few utility functions to make it easy and re-usable to draw segmented prompts + +CURRENT_BG='NONE' +SEGMENT_SEPARATOR='' + +# Begin a segment +# Takes two arguments, background and foreground. Both can be omitted, +# rendering default background/foreground. +prompt_segment() { + local bg fg + [[ -n $1 ]] && bg="%K{$1}" || bg="%k" + [[ -n $2 ]] && fg="%F{$2}" || fg="%f" + if [[ $CURRENT_BG != 'NONE' && $1 != $CURRENT_BG ]]; then + echo -n " %{$bg%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR%{$fg%} " + else + echo -n "%{$bg%}%{$fg%} " + # echo $(pwd | sed -e "s,^$HOME,~," | sed "s@\(.\)[^/]*/@\1/@g") + # echo $(pwd | sed -e "s,^$HOME,~,") + fi + CURRENT_BG=$1 + [[ -n $3 ]] && echo -n $3 +} + +# End the prompt, closing any open segments +prompt_end() { + if [[ -n $CURRENT_BG ]]; then + echo -n " %{%k%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR" + else + echo -n "%{%k%}" + fi + echo -n "%{%f%}" + CURRENT_BG='' +} + +### Prompt components +# Each component will draw itself, and hide itself if no information needs to be shown + +# Context: user@hostname (who am I and where am I) +prompt_context() { + local user=`whoami` + + if [[ "$user" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then + prompt_segment black default "%(!.%{%F{yellow}%}.)✝" + fi +} + +# Git: branch/detached head, dirty status +prompt_git() { + local ref dirty + if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then + ZSH_THEME_GIT_PROMPT_DIRTY='±' + dirty=$(parse_git_dirty) + ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)" + if [[ -n $dirty ]]; then + prompt_segment yellow black + else + prompt_segment green black + fi + echo -n "${ref/refs\/heads\// }$dirty" + fi +} + +# Dir: current working directory +prompt_dir() { + prompt_segment blue black '%3~' + # prompt_segment blue black "…${PWD: -30}" +} + +# Status: +# - was there an error +# - am I root +# - are there background jobs? +prompt_status() { + local symbols + symbols=() + [[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘" + [[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡" + [[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}⚙" + + [[ -n "$symbols" ]] && prompt_segment black default "$symbols" +} + +## Main prompt +build_prompt() { + RETVAL=$? + prompt_status + prompt_context + prompt_dir + prompt_git + prompt_end +} + +PROMPT='%{%f%b%k%}$(build_prompt) ' diff --git a/zsh.yml b/zsh.yml index cbc3510..148ac64 100644 --- a/zsh.yml +++ b/zsh.yml @@ -22,3 +22,10 @@ dest: /Users/{{ lookup('env', 'USER') }}/.aliases.zsh owner: "{{ lookup('env', 'USER') }}" force: yes + + - name: "Setup Cobalt2 theme" + template: + src: files/cobalt2.zsh-theme + dest: /Users/{{ lookup('env', 'USER') }}/.oh-my-zsh/themes/ + owner: "{{ lookup('env', 'USER') }}" + force: yes \ No newline at end of file From 2cb1514ce546d22f8e8e55cc445eb7334297af49 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:47:09 -0400 Subject: [PATCH 124/165] add cobalt2.zsh-theme --- zsh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh.yml b/zsh.yml index 148ac64..da1615d 100644 --- a/zsh.yml +++ b/zsh.yml @@ -25,7 +25,7 @@ - name: "Setup Cobalt2 theme" template: - src: files/cobalt2.zsh-theme + src: .files/cobalt2.zsh-theme dest: /Users/{{ lookup('env', 'USER') }}/.oh-my-zsh/themes/ owner: "{{ lookup('env', 'USER') }}" force: yes \ No newline at end of file From a7f2c4a29581eebc6a9402329028fb81ceca59dd Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:48:01 -0400 Subject: [PATCH 125/165] add cobalt2.zsh-theme --- files/{iterm => }/cobalt2.zsh-theme | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename files/{iterm => }/cobalt2.zsh-theme (100%) diff --git a/files/iterm/cobalt2.zsh-theme b/files/cobalt2.zsh-theme similarity index 100% rename from files/iterm/cobalt2.zsh-theme rename to files/cobalt2.zsh-theme From d3c9903d83004992963d174379239ea976790a2e Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:49:51 -0400 Subject: [PATCH 126/165] add cobalt2.zsh-theme --- files/{cobalt2.zsh-theme => cobalt2.zsh-theme.j2} | 0 zsh.yml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename files/{cobalt2.zsh-theme => cobalt2.zsh-theme.j2} (100%) diff --git a/files/cobalt2.zsh-theme b/files/cobalt2.zsh-theme.j2 similarity index 100% rename from files/cobalt2.zsh-theme rename to files/cobalt2.zsh-theme.j2 diff --git a/zsh.yml b/zsh.yml index da1615d..9b864f2 100644 --- a/zsh.yml +++ b/zsh.yml @@ -25,7 +25,7 @@ - name: "Setup Cobalt2 theme" template: - src: .files/cobalt2.zsh-theme + src: files/cobalt2.zsh-theme.j2 dest: /Users/{{ lookup('env', 'USER') }}/.oh-my-zsh/themes/ owner: "{{ lookup('env', 'USER') }}" force: yes \ No newline at end of file From a3ba946d285f403adc37b125f7984f7bdfa784ca Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:50:34 -0400 Subject: [PATCH 127/165] add cobalt2.zsh-theme --- files/{cobalt2.zsh-theme.j2 => cobalt2.zsh-theme} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename files/{cobalt2.zsh-theme.j2 => cobalt2.zsh-theme} (100%) diff --git a/files/cobalt2.zsh-theme.j2 b/files/cobalt2.zsh-theme similarity index 100% rename from files/cobalt2.zsh-theme.j2 rename to files/cobalt2.zsh-theme From ba493738a321f4fdf0358f0dd5ddd175b18beab5 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:51:12 -0400 Subject: [PATCH 128/165] add cobalt2.zsh-theme --- zsh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh.yml b/zsh.yml index 9b864f2..148ac64 100644 --- a/zsh.yml +++ b/zsh.yml @@ -25,7 +25,7 @@ - name: "Setup Cobalt2 theme" template: - src: files/cobalt2.zsh-theme.j2 + src: files/cobalt2.zsh-theme dest: /Users/{{ lookup('env', 'USER') }}/.oh-my-zsh/themes/ owner: "{{ lookup('env', 'USER') }}" force: yes \ No newline at end of file From cb1d0a033058129f35ae59fbe807140abc49dbdd Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:53:37 -0400 Subject: [PATCH 129/165] add cobalt2.zsh-theme --- zsh.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh.yml b/zsh.yml index 148ac64..8e30eae 100644 --- a/zsh.yml +++ b/zsh.yml @@ -24,8 +24,8 @@ force: yes - name: "Setup Cobalt2 theme" - template: + copy: src: files/cobalt2.zsh-theme dest: /Users/{{ lookup('env', 'USER') }}/.oh-my-zsh/themes/ owner: "{{ lookup('env', 'USER') }}" - force: yes \ No newline at end of file + force: yes From fabf342e29c9958fb8e7467b9dd2b5cf4b718cd3 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 19:59:50 -0400 Subject: [PATCH 130/165] add fonts --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index 687cd06..1df21ca 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -40,6 +40,7 @@ - arc - droplr - font-fira-code-nerd-font + - font-hack-nerd-font - google-chrome - imageOptim - iterm2 From 30afc74c327422a3a147689d32f33c927da14b4b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:06:20 -0400 Subject: [PATCH 131/165] verify folder --- vs_code.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vs_code.yml b/vs_code.yml index 9f5cfcc..d858713 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -85,6 +85,12 @@ owner: "{{ lookup('env', 'USER') }}" force: yes + - name: Ensure target directory exists + file: + path: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/snippets/ + state: directory + mode: '0755' + - name: Move VS Code Snippets copy: src: ./files/vs-code-snippets.code-snippets From 6fe75d9b6acda74d4e997dbdac6590290272a71e Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:12:57 -0400 Subject: [PATCH 132/165] Add color theme for iterm2 --- files/cobalt2.itermcolors | 383 ++++++++++++++++++++++++++++++++++++++ vs_code.yml | 21 ++- 2 files changed, 403 insertions(+), 1 deletion(-) create mode 100644 files/cobalt2.itermcolors diff --git a/files/cobalt2.itermcolors b/files/cobalt2.itermcolors new file mode 100644 index 0000000..95d6fde --- /dev/null +++ b/files/cobalt2.itermcolors @@ -0,0 +1,383 @@ + + + + + Ansi 0 Color + + Alpha Component + 1 + Blue Component + 0.0 + Color Space + P3 + Green Component + 0.0 + Red Component + 0.0 + + Ansi 1 Color + + Alpha Component + 1 + Blue Component + 0.14499923586845398 + Color Space + P3 + Green Component + 0.25273144245147705 + Red Component + 0.91916501522064209 + + Ansi 10 Color + + Alpha Component + 1 + Blue Component + 0.28548386693000793 + Color Space + P3 + Green Component + 0.8200421929359436 + Red Component + 0.44053006172180176 + + Ansi 11 Color + + Alpha Component + 1 + Blue Component + 0.27321365475654602 + Color Space + P3 + Green Component + 0.82041424512863159 + Red Component + 0.92384070158004761 + + Ansi 12 Color + + Alpha Component + 1 + Blue Component + 0.96627253293991089 + Color Space + P3 + Green Component + 0.44370388984680176 + Red Component + 0.41597193479537964 + + Ansi 13 Color + + Alpha Component + 1 + Blue Component + 0.97355145215988159 + Color Space + P3 + Green Component + 0.4959680438041687 + Red Component + 0.93332391977310181 + + Ansi 14 Color + + Alpha Component + 1 + Blue Component + 0.97264820337295532 + Color Space + P3 + Green Component + 0.89901787042617798 + Red Component + 0.58457189798355103 + + Ansi 15 Color + + Alpha Component + 1 + Blue Component + 0.99999994039535522 + Color Space + P3 + Green Component + 0.99999994039535522 + Red Component + 0.99999994039535522 + + Ansi 2 Color + + Alpha Component + 1 + Blue Component + 0.30648824572563171 + Color Space + P3 + Green Component + 0.86361926794052124 + Red Component + 0.44828832149505615 + + Ansi 3 Color + + Alpha Component + 1 + Blue Component + 0.27750718593597412 + Color Space + P3 + Green Component + 0.83218854665756226 + Red Component + 0.93558675050735474 + + Ansi 4 Color + + Alpha Component + 1 + Blue Component + 0.83156245946884155 + Color Space + P3 + Green Component + 0.46349745988845825 + Red Component + 0.21836084127426147 + + Ansi 5 Color + + Alpha Component + 1 + Blue Component + 0.44472604990005493 + Color Space + P3 + Green Component + 0.26506686210632324 + Red Component + 0.91963052749633789 + + Ansi 6 Color + + Alpha Component + 1 + Blue Component + 0.77513569593429565 + Color Space + P3 + Green Component + 0.76265448331832886 + Red Component + 0.34857574105262756 + + Ansi 7 Color + + Alpha Component + 1 + Blue Component + 0.78104287385940552 + Color Space + P3 + Green Component + 0.78104299306869507 + Red Component + 0.78104299306869507 + + Ansi 8 Color + + Alpha Component + 1 + Blue Component + 0.40781933069229126 + Color Space + P3 + Green Component + 0.40781933069229126 + Red Component + 0.40781933069229126 + + Ansi 9 Color + + Alpha Component + 1 + Blue Component + 0.18430492281913757 + Color Space + P3 + Green Component + 0.25729817152023315 + Red Component + 0.89786404371261597 + + Background Color + + Alpha Component + 1 + Blue Component + 0.27538502216339111 + Color Space + P3 + Green Component + 0.20120596885681152 + Red Component + 0.11854294687509537 + + Badge Color + + Alpha Component + 0.5 + Blue Component + 0.14499923586845398 + Color Space + P3 + Green Component + 0.25273144245147705 + Red Component + 0.91916501522064209 + + Bold Color + + Alpha Component + 1 + Blue Component + 0.99888485670089722 + Color Space + P3 + Green Component + 0.98980563879013062 + Red Component + 0.97787553071975708 + + Cursor Color + + Alpha Component + 1 + Blue Component + 0.27750658988952637 + Color Space + P3 + Green Component + 0.8321729302406311 + Red Component + 0.93558508157730103 + + Cursor Guide Color + + Alpha Component + 0.06341552734375 + Blue Component + 0.99078148603439331 + Color Space + P3 + Green Component + 0.92047786712646484 + Red Component + 0.74862587451934814 + + Cursor Text Color + + Alpha Component + 1 + Blue Component + 0.96217268705368042 + Color Space + P3 + Green Component + 0.99858838319778442 + Red Component + 0.99744158983230591 + + Foreground Color + + Alpha Component + 1 + Blue Component + 0.99999994039535522 + Color Space + P3 + Green Component + 0.99999994039535522 + Red Component + 0.99999994039535522 + + Link Color + + Alpha Component + 1 + Blue Component + 0.70932859182357788 + Color Space + P3 + Green Component + 0.3533521294593811 + Red Component + 0.14658850431442261 + + Match Background Color + + Alpha Component + 1 + Blue Component + 0.0 + Color Space + P3 + Green Component + 1 + Red Component + 1 + + Selected Text Color + + Alpha Component + 1 + Blue Component + 0.7602958083152771 + Color Space + P3 + Green Component + 0.7602958083152771 + Red Component + 0.7602958083152771 + + Selection Color + + Alpha Component + 1 + Blue Component + 0.37459272146224976 + Color Space + P3 + Green Component + 0.26708489656448364 + Red Component + 0.15941700339317322 + + Tab Color + + Alpha Component + 1 + Blue Component + 0.37459588050842285 + Color Space + P3 + Green Component + 0.26709035038948059 + Red Component + 0.15941488742828369 + + Underline Color + + Alpha Component + 1 + Blue Component + 0.27750718593597412 + Color Space + P3 + Green Component + 0.83218854665756226 + Red Component + 0.93558675050735474 + + + diff --git a/vs_code.yml b/vs_code.yml index d858713..cb805d2 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -96,4 +96,23 @@ src: ./files/vs-code-snippets.code-snippets dest: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/snippets/myGlobal.code-snippets owner: "{{ lookup('env', 'USER') }}" - force: yes \ No newline at end of file + force: yes + + - name: Ensure iTerm2 color schemes directory exists + file: + path: ~/Library/Application\ Support/iTerm2/Color\ Schemes + state: directory + mode: '0755' + + - name: Copy .itermcolors file to target directory + copy: + src: files/cobalt2.itermcolors + dest: ~/Library/Application\ Support/iTerm2/Color\ Schemes/cobalt2.itermcolors + mode: '0644' + + - name: Import .itermcolors file into iTerm2 + shell: > + osascript -e 'tell application "iTerm2" + set colorFile to POSIX file "~/Library/Application Support/iTerm2/Color Schemes/cobalt2.itermcolors" + load color preset colorFile + end tell' \ No newline at end of file From 581051e256d5009e84bbf5ad4fd74253581b580c Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:16:34 -0400 Subject: [PATCH 133/165] Add color theme for iterm2 --- vs_code.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vs_code.yml b/vs_code.yml index cb805d2..c798280 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -115,4 +115,6 @@ osascript -e 'tell application "iTerm2" set colorFile to POSIX file "~/Library/Application Support/iTerm2/Color Schemes/cobalt2.itermcolors" load color preset colorFile - end tell' \ No newline at end of file + end tell' + args: + executable: /bin/bash \ No newline at end of file From e771fa9fbd8f43f9ef43fc13fd810c6b8fb9f7fc Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:16:56 -0400 Subject: [PATCH 134/165] Add color theme for iterm2 --- vs_code.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index c798280..7a6ffa7 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -112,9 +112,9 @@ - name: Import .itermcolors file into iTerm2 shell: > - osascript -e 'tell application "iTerm2" + osascript -e `tell application "iTerm2" set colorFile to POSIX file "~/Library/Application Support/iTerm2/Color Schemes/cobalt2.itermcolors" load color preset colorFile - end tell' + end tell` args: executable: /bin/bash \ No newline at end of file From f7749418fa3eb570918a96ed7cf6145f7da71d16 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:23:34 -0400 Subject: [PATCH 135/165] Add color theme for iterm2 --- vs_code.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index 7a6ffa7..c798280 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -112,9 +112,9 @@ - name: Import .itermcolors file into iTerm2 shell: > - osascript -e `tell application "iTerm2" + osascript -e 'tell application "iTerm2" set colorFile to POSIX file "~/Library/Application Support/iTerm2/Color Schemes/cobalt2.itermcolors" load color preset colorFile - end tell` + end tell' args: executable: /bin/bash \ No newline at end of file From 7fb61721f97d1f839164607e7d99b51a6e92df12 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:30:02 -0400 Subject: [PATCH 136/165] Add color theme for iterm2 --- files/Default.json | 426 ++++++++++++++++++++++++++++++++++++++ files/cobalt2.itermcolors | 383 ---------------------------------- vs_code.yml | 17 +- 3 files changed, 433 insertions(+), 393 deletions(-) create mode 100644 files/Default.json delete mode 100644 files/cobalt2.itermcolors diff --git a/files/Default.json b/files/Default.json new file mode 100644 index 0000000..d261a64 --- /dev/null +++ b/files/Default.json @@ -0,0 +1,426 @@ +{ + "Right Option Key Sends" : 0, + "Tags" : [ + + ], + "Ansi 12 Color" : { + "Red Component" : 0.40938043594360352, + "Color Space" : "sRGB", + "Blue Component" : 1, + "Alpha Component" : 1, + "Green Component" : 0.44484475255012512 + }, + "Ansi 6 Color" : { + "Red Component" : 0, + "Color Space" : "sRGB", + "Blue Component" : 0.78165644407272339, + "Alpha Component" : 1, + "Green Component" : 0.77424591779708862 + }, + "Draw Powerline Glyphs" : true, + "Bold Color" : { + "Red Component" : 0.97516435384750366, + "Color Space" : "sRGB", + "Blue Component" : 1, + "Alpha Component" : 1, + "Green Component" : 0.99030381441116333 + }, + "Ansi 7 Color" : { + "Red Component" : 0.78104299306869507, + "Color Space" : "sRGB", + "Blue Component" : 0.78104287385940552, + "Alpha Component" : 1, + "Green Component" : 0.78104287385940552 + }, + "Ansi 8 Color" : { + "Red Component" : 0.40781933069229126, + "Color Space" : "sRGB", + "Blue Component" : 0.40781933069229126, + "Alpha Component" : 1, + "Green Component" : 0.40781933069229126 + }, + "Ansi 9 Color" : { + "Red Component" : 0.97646647691726685, + "Color Space" : "sRGB", + "Blue Component" : 0.10980681329965591, + "Alpha Component" : 1, + "Green Component" : 0.16467896103858948 + }, + "Rows" : 25, + "Default Bookmark" : "No", + "Transparency" : 0, + "Ansi 4 Color" : { + "Red Component" : 0.078469835221767426, + "Color Space" : "sRGB", + "Blue Component" : 0.85881680250167847, + "Alpha Component" : 1, + "Green Component" : 0.47057878971099854 + }, + "Cursor Guide Color" : { + "Red Component" : 0.70214027166366577, + "Color Space" : "sRGB", + "Blue Component" : 1, + "Alpha Component" : 0.06341552734375, + "Green Component" : 0.92681378126144409 + }, + "Non-ASCII Anti Aliased" : true, + "Use Bright Bold" : true, + "Ansi 10 Color" : { + "Red Component" : 0.26277047395706177, + "Color Space" : "sRGB", + "Blue Component" : 0.14902409911155701, + "Alpha Component" : 1, + "Green Component" : 0.83135908842086792 + }, + "Ambiguous Double Width" : false, + "Jobs to Ignore" : [ + "rlogin", + "ssh", + "slogin", + "telnet" + ], + "Ansi 15 Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 0.99999994039535522, + "Alpha Component" : 1, + "Green Component" : 0.99999994039535522 + }, + "Foreground Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 0.99999994039535522, + "Alpha Component" : 1, + "Green Component" : 0.99999994039535522 + }, + "Working Directory" : "\/Users\/kindred", + "Blinking Cursor" : false, + "Disable Window Resizing" : true, + "Sync Title" : false, + "Prompt Before Closing 2" : false, + "BM Growl" : true, + "Command" : "", + "Description" : "Default", + "Mouse Reporting" : true, + "Screen" : -1, + "Selection Color" : { + "Red Component" : 0.12157491594552994, + "Color Space" : "sRGB", + "Blue Component" : 0.38431057333946228, + "Alpha Component" : 1, + "Green Component" : 0.27058261632919312 + }, + "Columns" : 80, + "Idle Code" : 0, + "Ansi 13 Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 1, + "Alpha Component" : 1, + "Green Component" : 0.4651724100112915 + }, + "Custom Command" : "No", + "ASCII Anti Aliased" : true, + "Non Ascii Font" : "InconsolataForPowerline 10", + "Vertical Spacing" : 1.25, + "Use Bold Font" : true, + "Option Key Sends" : 0, + "Selected Text Color" : { + "Red Component" : 0.7602958083152771, + "Color Space" : "sRGB", + "Blue Component" : 0.7602958083152771, + "Alpha Component" : 1, + "Green Component" : 0.7602958083152771 + }, + "Background Color" : { + "Red Component" : 0.090200744569301605, + "Color Space" : "sRGB", + "Blue Component" : 0.28235051035881042, + "Alpha Component" : 1, + "Green Component" : 0.20391708612442017 + }, + "Character Encoding" : 4, + "Ansi 11 Color" : { + "Red Component" : 0.94509893655776978, + "Color Space" : "sRGB", + "Blue Component" : 2.4462453438900411e-05, + "Alpha Component" : 1, + "Green Component" : 0.81567007303237915 + }, + "Thin Strokes" : 4, + "Use Italic Font" : true, + "Unlimited Scrollback" : false, + "Keyboard Map" : { + "0xf700-0x260000" : { + "Action" : 10, + "Text" : "[1;6A" + }, + "0x37-0x40000" : { + "Action" : 11, + "Text" : "0x1f" + }, + "0x32-0x40000" : { + "Action" : 11, + "Text" : "0x00" + }, + "0xf709-0x20000" : { + "Action" : 10, + "Text" : "[17;2~" + }, + "0xf70c-0x20000" : { + "Action" : 10, + "Text" : "[20;2~" + }, + "0xf729-0x20000" : { + "Action" : 10, + "Text" : "[1;2H" + }, + "0xf72b-0x40000" : { + "Action" : 10, + "Text" : "[1;5F" + }, + "0xf705-0x20000" : { + "Action" : 10, + "Text" : "[1;2Q" + }, + "0xf703-0x260000" : { + "Action" : 10, + "Text" : "[1;6C" + }, + "0xf700-0x220000" : { + "Action" : 10, + "Text" : "[1;2A" + }, + "0xf701-0x280000" : { + "Action" : 11, + "Text" : "0x1b 0x1b 0x5b 0x42" + }, + "0x38-0x40000" : { + "Action" : 11, + "Text" : "0x7f" + }, + "0x33-0x40000" : { + "Action" : 11, + "Text" : "0x1b" + }, + "0xf703-0x220000" : { + "Action" : 10, + "Text" : "[1;2C" + }, + "0xf701-0x240000" : { + "Action" : 10, + "Text" : "[1;5B" + }, + "0xf70d-0x20000" : { + "Action" : 10, + "Text" : "[21;2~" + }, + "0xf702-0x260000" : { + "Action" : 10, + "Text" : "[1;6D" + }, + "0xf729-0x40000" : { + "Action" : 10, + "Text" : "[1;5H" + }, + "0xf706-0x20000" : { + "Action" : 10, + "Text" : "[1;2R" + }, + "0x34-0x40000" : { + "Action" : 11, + "Text" : "0x1c" + }, + "0xf700-0x280000" : { + "Action" : 11, + "Text" : "0x1b 0x1b 0x5b 0x41" + }, + "0x2d-0x40000" : { + "Action" : 11, + "Text" : "0x1f" + }, + "0xf70e-0x20000" : { + "Action" : 10, + "Text" : "[23;2~" + }, + "0xf702-0x220000" : { + "Action" : 10, + "Text" : "[1;2D" + }, + "0xf703-0x280000" : { + "Action" : 11, + "Text" : "0x1b 0x1b 0x5b 0x43" + }, + "0xf700-0x240000" : { + "Action" : 10, + "Text" : "[1;5A" + }, + "0xf707-0x20000" : { + "Action" : 10, + "Text" : "[1;2S" + }, + "0xf70a-0x20000" : { + "Action" : 10, + "Text" : "[18;2~" + }, + "0x35-0x40000" : { + "Action" : 11, + "Text" : "0x1d" + }, + "0xf70f-0x20000" : { + "Action" : 10, + "Text" : "[24;2~" + }, + "0xf703-0x240000" : { + "Action" : 10, + "Text" : "[1;5C" + }, + "0xf701-0x260000" : { + "Action" : 10, + "Text" : "[1;6B" + }, + "0xf702-0x280000" : { + "Action" : 11, + "Text" : "0x1b 0x1b 0x5b 0x44" + }, + "0xf72b-0x20000" : { + "Action" : 10, + "Text" : "[1;2F" + }, + "0x36-0x40000" : { + "Action" : 11, + "Text" : "0x1e" + }, + "0xf708-0x20000" : { + "Action" : 10, + "Text" : "[15;2~" + }, + "0xf701-0x220000" : { + "Action" : 10, + "Text" : "[1;2B" + }, + "0xf70b-0x20000" : { + "Action" : 10, + "Text" : "[19;2~" + }, + "0xf702-0x240000" : { + "Action" : 10, + "Text" : "[1;5D" + }, + "0xf704-0x20000" : { + "Action" : 10, + "Text" : "[1;2P" + } + }, + "Window Type" : 0, + "Blink Allowed" : false, + "Cursor Type" : 2, + "Background Image Location" : "", + "Blur" : false, + "Badge Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 0, + "Alpha Component" : 0.5, + "Green Component" : 0.14910027384757996 + }, + "Scrollback Lines" : 1000, + "Send Code When Idle" : false, + "Close Sessions On End" : true, + "Terminal Type" : "xterm-256color", + "Visual Bell" : true, + "Flashing Bell" : false, + "Underline Color" : { + "Red Component" : 0.95686274766921997, + "Color Space" : "sRGB", + "Blue Component" : 0, + "Alpha Component" : 1, + "Green Component" : 0.82745099067687988 + }, + "Silence Bell" : false, + "Ansi 14 Color" : { + "Red Component" : 0.47518438100814819, + "Color Space" : "sRGB", + "Blue Component" : 0.98377496004104614, + "Alpha Component" : 1, + "Green Component" : 0.90926605463027954 + }, + "ASCII Ligatures" : false, + "Name" : "Default", + "Cursor Text Color" : { + "Red Component" : 0.99718433618545532, + "Color Space" : "sRGB", + "Blue Component" : 0.95851975679397583, + "Alpha Component" : 1, + "Green Component" : 0.99863582849502563 + }, + "Match Background Color" : { + "Red Component" : 1, + "Color Space" : "P3", + "Blue Component" : 0, + "Alpha Component" : 1, + "Green Component" : 1 + }, + "Shortcut" : "", + "Tab Color" : { + "Red Component" : 0.12156862765550613, + "Color Space" : "sRGB", + "Blue Component" : 0.38431373238563538, + "Alpha Component" : 1, + "Green Component" : 0.27058824896812439 + }, + "Ansi 0 Color" : { + "Red Component" : 0, + "Color Space" : "sRGB", + "Blue Component" : 0, + "Alpha Component" : 1, + "Green Component" : 0 + }, + "Ansi 1 Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 0, + "Alpha Component" : 1, + "Green Component" : 0.14910027384757996 + }, + "Horizontal Spacing" : 1, + "Link Color" : { + "Red Component" : 0, + "Color Space" : "sRGB", + "Blue Component" : 0.73422712087631226, + "Alpha Component" : 1, + "Green Component" : 0.35915297269821167 + }, + "Cursor Color" : { + "Red Component" : 0.95686370134353638, + "Color Space" : "sRGB", + "Blue Component" : 2.5259620088036172e-05, + "Alpha Component" : 1, + "Green Component" : 0.82743459939956665 + }, + "Ansi 5 Color" : { + "Red Component" : 1, + "Color Space" : "sRGB", + "Blue Component" : 0.43921512365341187, + "Alpha Component" : 1, + "Green Component" : 0.17078870534896851 + }, + "Use Non-ASCII Font" : false, + "Guid" : "385D96B4-2CCC-4E95-9397-4DE647985ECF", + "Normal Font" : "InconsolataForPowerline 14", + "Ansi 2 Color" : { + "Red Component" : 0.23735573887825012, + "Color Space" : "sRGB", + "Blue Component" : 0.16916003823280334, + "Alpha Component" : 1, + "Green Component" : 0.87580806016921997 + }, + "Ansi 3 Color" : { + "Red Component" : 0.95686274766921997, + "Color Space" : "sRGB", + "Blue Component" : 0, + "Alpha Component" : 1, + "Green Component" : 0.82745099067687988 + }, + "Custom Directory" : "No" +} \ No newline at end of file diff --git a/files/cobalt2.itermcolors b/files/cobalt2.itermcolors deleted file mode 100644 index 95d6fde..0000000 --- a/files/cobalt2.itermcolors +++ /dev/null @@ -1,383 +0,0 @@ - - - - - Ansi 0 Color - - Alpha Component - 1 - Blue Component - 0.0 - Color Space - P3 - Green Component - 0.0 - Red Component - 0.0 - - Ansi 1 Color - - Alpha Component - 1 - Blue Component - 0.14499923586845398 - Color Space - P3 - Green Component - 0.25273144245147705 - Red Component - 0.91916501522064209 - - Ansi 10 Color - - Alpha Component - 1 - Blue Component - 0.28548386693000793 - Color Space - P3 - Green Component - 0.8200421929359436 - Red Component - 0.44053006172180176 - - Ansi 11 Color - - Alpha Component - 1 - Blue Component - 0.27321365475654602 - Color Space - P3 - Green Component - 0.82041424512863159 - Red Component - 0.92384070158004761 - - Ansi 12 Color - - Alpha Component - 1 - Blue Component - 0.96627253293991089 - Color Space - P3 - Green Component - 0.44370388984680176 - Red Component - 0.41597193479537964 - - Ansi 13 Color - - Alpha Component - 1 - Blue Component - 0.97355145215988159 - Color Space - P3 - Green Component - 0.4959680438041687 - Red Component - 0.93332391977310181 - - Ansi 14 Color - - Alpha Component - 1 - Blue Component - 0.97264820337295532 - Color Space - P3 - Green Component - 0.89901787042617798 - Red Component - 0.58457189798355103 - - Ansi 15 Color - - Alpha Component - 1 - Blue Component - 0.99999994039535522 - Color Space - P3 - Green Component - 0.99999994039535522 - Red Component - 0.99999994039535522 - - Ansi 2 Color - - Alpha Component - 1 - Blue Component - 0.30648824572563171 - Color Space - P3 - Green Component - 0.86361926794052124 - Red Component - 0.44828832149505615 - - Ansi 3 Color - - Alpha Component - 1 - Blue Component - 0.27750718593597412 - Color Space - P3 - Green Component - 0.83218854665756226 - Red Component - 0.93558675050735474 - - Ansi 4 Color - - Alpha Component - 1 - Blue Component - 0.83156245946884155 - Color Space - P3 - Green Component - 0.46349745988845825 - Red Component - 0.21836084127426147 - - Ansi 5 Color - - Alpha Component - 1 - Blue Component - 0.44472604990005493 - Color Space - P3 - Green Component - 0.26506686210632324 - Red Component - 0.91963052749633789 - - Ansi 6 Color - - Alpha Component - 1 - Blue Component - 0.77513569593429565 - Color Space - P3 - Green Component - 0.76265448331832886 - Red Component - 0.34857574105262756 - - Ansi 7 Color - - Alpha Component - 1 - Blue Component - 0.78104287385940552 - Color Space - P3 - Green Component - 0.78104299306869507 - Red Component - 0.78104299306869507 - - Ansi 8 Color - - Alpha Component - 1 - Blue Component - 0.40781933069229126 - Color Space - P3 - Green Component - 0.40781933069229126 - Red Component - 0.40781933069229126 - - Ansi 9 Color - - Alpha Component - 1 - Blue Component - 0.18430492281913757 - Color Space - P3 - Green Component - 0.25729817152023315 - Red Component - 0.89786404371261597 - - Background Color - - Alpha Component - 1 - Blue Component - 0.27538502216339111 - Color Space - P3 - Green Component - 0.20120596885681152 - Red Component - 0.11854294687509537 - - Badge Color - - Alpha Component - 0.5 - Blue Component - 0.14499923586845398 - Color Space - P3 - Green Component - 0.25273144245147705 - Red Component - 0.91916501522064209 - - Bold Color - - Alpha Component - 1 - Blue Component - 0.99888485670089722 - Color Space - P3 - Green Component - 0.98980563879013062 - Red Component - 0.97787553071975708 - - Cursor Color - - Alpha Component - 1 - Blue Component - 0.27750658988952637 - Color Space - P3 - Green Component - 0.8321729302406311 - Red Component - 0.93558508157730103 - - Cursor Guide Color - - Alpha Component - 0.06341552734375 - Blue Component - 0.99078148603439331 - Color Space - P3 - Green Component - 0.92047786712646484 - Red Component - 0.74862587451934814 - - Cursor Text Color - - Alpha Component - 1 - Blue Component - 0.96217268705368042 - Color Space - P3 - Green Component - 0.99858838319778442 - Red Component - 0.99744158983230591 - - Foreground Color - - Alpha Component - 1 - Blue Component - 0.99999994039535522 - Color Space - P3 - Green Component - 0.99999994039535522 - Red Component - 0.99999994039535522 - - Link Color - - Alpha Component - 1 - Blue Component - 0.70932859182357788 - Color Space - P3 - Green Component - 0.3533521294593811 - Red Component - 0.14658850431442261 - - Match Background Color - - Alpha Component - 1 - Blue Component - 0.0 - Color Space - P3 - Green Component - 1 - Red Component - 1 - - Selected Text Color - - Alpha Component - 1 - Blue Component - 0.7602958083152771 - Color Space - P3 - Green Component - 0.7602958083152771 - Red Component - 0.7602958083152771 - - Selection Color - - Alpha Component - 1 - Blue Component - 0.37459272146224976 - Color Space - P3 - Green Component - 0.26708489656448364 - Red Component - 0.15941700339317322 - - Tab Color - - Alpha Component - 1 - Blue Component - 0.37459588050842285 - Color Space - P3 - Green Component - 0.26709035038948059 - Red Component - 0.15941488742828369 - - Underline Color - - Alpha Component - 1 - Blue Component - 0.27750718593597412 - Color Space - P3 - Green Component - 0.83218854665756226 - Red Component - 0.93558675050735474 - - - diff --git a/vs_code.yml b/vs_code.yml index c798280..faa290c 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -104,17 +104,14 @@ state: directory mode: '0755' - - name: Copy .itermcolors file to target directory + - name: Copy JSON profile to DynamicProfiles directory copy: - src: files/cobalt2.itermcolors - dest: ~/Library/Application\ Support/iTerm2/Color\ Schemes/cobalt2.itermcolors + src: files/Default.json + dest: ~/Library/Application\ Support/iTerm2/DynamicProfiles/default.json mode: '0644' - - name: Import .itermcolors file into iTerm2 - shell: > - osascript -e 'tell application "iTerm2" - set colorFile to POSIX file "~/Library/Application Support/iTerm2/Color Schemes/cobalt2.itermcolors" - load color preset colorFile - end tell' + - name: Reload iTerm2 preferences + shell: osascript -e 'tell application "iTerm2" to reload preferences' args: - executable: /bin/bash \ No newline at end of file + executable: /bin/bash + From 43c725cb435e015cf1d023394be20aba676c33c6 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:33:22 -0400 Subject: [PATCH 137/165] Add color theme for iterm2 --- vs_code.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index faa290c..6a380e6 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -98,16 +98,16 @@ owner: "{{ lookup('env', 'USER') }}" force: yes - - name: Ensure iTerm2 color schemes directory exists + - name: Ensure iTerm2 color DynamicProfiles directory exists file: - path: ~/Library/Application\ Support/iTerm2/Color\ Schemes + path: ~/Library/Application Support/iTerm2/DynamicProfiles/ state: directory mode: '0755' - name: Copy JSON profile to DynamicProfiles directory copy: src: files/Default.json - dest: ~/Library/Application\ Support/iTerm2/DynamicProfiles/default.json + dest: ~/Library/Application Support/iTerm2/DynamicProfiles/default.json mode: '0644' - name: Reload iTerm2 preferences From 4875bb00461bbfaf4c1d2a0931f06e875e24913d Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:36:26 -0400 Subject: [PATCH 138/165] Add color theme for iterm2 --- files/{Default.json => Profiles.json} | 6 +++++- vs_code.yml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) rename files/{Default.json => Profiles.json} (99%) diff --git a/files/Default.json b/files/Profiles.json similarity index 99% rename from files/Default.json rename to files/Profiles.json index d261a64..8c6fa6f 100644 --- a/files/Default.json +++ b/files/Profiles.json @@ -1,3 +1,5 @@ +{ +"Profiles": [ { "Right Option Key Sends" : 0, "Tags" : [ @@ -423,4 +425,6 @@ "Green Component" : 0.82745099067687988 }, "Custom Directory" : "No" -} \ No newline at end of file +} +] +} diff --git a/vs_code.yml b/vs_code.yml index 6a380e6..23a10b7 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -106,8 +106,8 @@ - name: Copy JSON profile to DynamicProfiles directory copy: - src: files/Default.json - dest: ~/Library/Application Support/iTerm2/DynamicProfiles/default.json + src: files/Profiles.json + dest: ~/Library/Application Support/iTerm2/DynamicProfiles/Profiles.json mode: '0644' - name: Reload iTerm2 preferences From 7424c924e35358ef256283c2b4331110d2c6dcc8 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:45:46 -0400 Subject: [PATCH 139/165] Add inconsolata for powerline font --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index 1df21ca..3bd3ff4 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -41,6 +41,7 @@ - droplr - font-fira-code-nerd-font - font-hack-nerd-font + - font-inconsolata-for-powerline - google-chrome - imageOptim - iterm2 From c95e83da4dfe60c37bdb2bf1a5ec508f2b4d8d17 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 20:47:54 -0400 Subject: [PATCH 140/165] fix copy error --- vs_code.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index 23a10b7..4b081af 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -97,21 +97,3 @@ dest: /Users/{{ lookup('env', 'USER') }}/Library/Application Support/Code/User/snippets/myGlobal.code-snippets owner: "{{ lookup('env', 'USER') }}" force: yes - - - name: Ensure iTerm2 color DynamicProfiles directory exists - file: - path: ~/Library/Application Support/iTerm2/DynamicProfiles/ - state: directory - mode: '0755' - - - name: Copy JSON profile to DynamicProfiles directory - copy: - src: files/Profiles.json - dest: ~/Library/Application Support/iTerm2/DynamicProfiles/Profiles.json - mode: '0644' - - - name: Reload iTerm2 preferences - shell: osascript -e 'tell application "iTerm2" to reload preferences' - args: - executable: /bin/bash - From d427172a17fac90ec5c2e39e5f5b5cf12a4a8916 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Thu, 20 Jun 2024 21:01:19 -0400 Subject: [PATCH 141/165] remove iterm profile --- files/Profiles.json | 430 -------------------------------------------- 1 file changed, 430 deletions(-) delete mode 100644 files/Profiles.json diff --git a/files/Profiles.json b/files/Profiles.json deleted file mode 100644 index 8c6fa6f..0000000 --- a/files/Profiles.json +++ /dev/null @@ -1,430 +0,0 @@ -{ -"Profiles": [ -{ - "Right Option Key Sends" : 0, - "Tags" : [ - - ], - "Ansi 12 Color" : { - "Red Component" : 0.40938043594360352, - "Color Space" : "sRGB", - "Blue Component" : 1, - "Alpha Component" : 1, - "Green Component" : 0.44484475255012512 - }, - "Ansi 6 Color" : { - "Red Component" : 0, - "Color Space" : "sRGB", - "Blue Component" : 0.78165644407272339, - "Alpha Component" : 1, - "Green Component" : 0.77424591779708862 - }, - "Draw Powerline Glyphs" : true, - "Bold Color" : { - "Red Component" : 0.97516435384750366, - "Color Space" : "sRGB", - "Blue Component" : 1, - "Alpha Component" : 1, - "Green Component" : 0.99030381441116333 - }, - "Ansi 7 Color" : { - "Red Component" : 0.78104299306869507, - "Color Space" : "sRGB", - "Blue Component" : 0.78104287385940552, - "Alpha Component" : 1, - "Green Component" : 0.78104287385940552 - }, - "Ansi 8 Color" : { - "Red Component" : 0.40781933069229126, - "Color Space" : "sRGB", - "Blue Component" : 0.40781933069229126, - "Alpha Component" : 1, - "Green Component" : 0.40781933069229126 - }, - "Ansi 9 Color" : { - "Red Component" : 0.97646647691726685, - "Color Space" : "sRGB", - "Blue Component" : 0.10980681329965591, - "Alpha Component" : 1, - "Green Component" : 0.16467896103858948 - }, - "Rows" : 25, - "Default Bookmark" : "No", - "Transparency" : 0, - "Ansi 4 Color" : { - "Red Component" : 0.078469835221767426, - "Color Space" : "sRGB", - "Blue Component" : 0.85881680250167847, - "Alpha Component" : 1, - "Green Component" : 0.47057878971099854 - }, - "Cursor Guide Color" : { - "Red Component" : 0.70214027166366577, - "Color Space" : "sRGB", - "Blue Component" : 1, - "Alpha Component" : 0.06341552734375, - "Green Component" : 0.92681378126144409 - }, - "Non-ASCII Anti Aliased" : true, - "Use Bright Bold" : true, - "Ansi 10 Color" : { - "Red Component" : 0.26277047395706177, - "Color Space" : "sRGB", - "Blue Component" : 0.14902409911155701, - "Alpha Component" : 1, - "Green Component" : 0.83135908842086792 - }, - "Ambiguous Double Width" : false, - "Jobs to Ignore" : [ - "rlogin", - "ssh", - "slogin", - "telnet" - ], - "Ansi 15 Color" : { - "Red Component" : 1, - "Color Space" : "sRGB", - "Blue Component" : 0.99999994039535522, - "Alpha Component" : 1, - "Green Component" : 0.99999994039535522 - }, - "Foreground Color" : { - "Red Component" : 1, - "Color Space" : "sRGB", - "Blue Component" : 0.99999994039535522, - "Alpha Component" : 1, - "Green Component" : 0.99999994039535522 - }, - "Working Directory" : "\/Users\/kindred", - "Blinking Cursor" : false, - "Disable Window Resizing" : true, - "Sync Title" : false, - "Prompt Before Closing 2" : false, - "BM Growl" : true, - "Command" : "", - "Description" : "Default", - "Mouse Reporting" : true, - "Screen" : -1, - "Selection Color" : { - "Red Component" : 0.12157491594552994, - "Color Space" : "sRGB", - "Blue Component" : 0.38431057333946228, - "Alpha Component" : 1, - "Green Component" : 0.27058261632919312 - }, - "Columns" : 80, - "Idle Code" : 0, - "Ansi 13 Color" : { - "Red Component" : 1, - "Color Space" : "sRGB", - "Blue Component" : 1, - "Alpha Component" : 1, - "Green Component" : 0.4651724100112915 - }, - "Custom Command" : "No", - "ASCII Anti Aliased" : true, - "Non Ascii Font" : "InconsolataForPowerline 10", - "Vertical Spacing" : 1.25, - "Use Bold Font" : true, - "Option Key Sends" : 0, - "Selected Text Color" : { - "Red Component" : 0.7602958083152771, - "Color Space" : "sRGB", - "Blue Component" : 0.7602958083152771, - "Alpha Component" : 1, - "Green Component" : 0.7602958083152771 - }, - "Background Color" : { - "Red Component" : 0.090200744569301605, - "Color Space" : "sRGB", - "Blue Component" : 0.28235051035881042, - "Alpha Component" : 1, - "Green Component" : 0.20391708612442017 - }, - "Character Encoding" : 4, - "Ansi 11 Color" : { - "Red Component" : 0.94509893655776978, - "Color Space" : "sRGB", - "Blue Component" : 2.4462453438900411e-05, - "Alpha Component" : 1, - "Green Component" : 0.81567007303237915 - }, - "Thin Strokes" : 4, - "Use Italic Font" : true, - "Unlimited Scrollback" : false, - "Keyboard Map" : { - "0xf700-0x260000" : { - "Action" : 10, - "Text" : "[1;6A" - }, - "0x37-0x40000" : { - "Action" : 11, - "Text" : "0x1f" - }, - "0x32-0x40000" : { - "Action" : 11, - "Text" : "0x00" - }, - "0xf709-0x20000" : { - "Action" : 10, - "Text" : "[17;2~" - }, - "0xf70c-0x20000" : { - "Action" : 10, - "Text" : "[20;2~" - }, - "0xf729-0x20000" : { - "Action" : 10, - "Text" : "[1;2H" - }, - "0xf72b-0x40000" : { - "Action" : 10, - "Text" : "[1;5F" - }, - "0xf705-0x20000" : { - "Action" : 10, - "Text" : "[1;2Q" - }, - "0xf703-0x260000" : { - "Action" : 10, - "Text" : "[1;6C" - }, - "0xf700-0x220000" : { - "Action" : 10, - "Text" : "[1;2A" - }, - "0xf701-0x280000" : { - "Action" : 11, - "Text" : "0x1b 0x1b 0x5b 0x42" - }, - "0x38-0x40000" : { - "Action" : 11, - "Text" : "0x7f" - }, - "0x33-0x40000" : { - "Action" : 11, - "Text" : "0x1b" - }, - "0xf703-0x220000" : { - "Action" : 10, - "Text" : "[1;2C" - }, - "0xf701-0x240000" : { - "Action" : 10, - "Text" : "[1;5B" - }, - "0xf70d-0x20000" : { - "Action" : 10, - "Text" : "[21;2~" - }, - "0xf702-0x260000" : { - "Action" : 10, - "Text" : "[1;6D" - }, - "0xf729-0x40000" : { - "Action" : 10, - "Text" : "[1;5H" - }, - "0xf706-0x20000" : { - "Action" : 10, - "Text" : "[1;2R" - }, - "0x34-0x40000" : { - "Action" : 11, - "Text" : "0x1c" - }, - "0xf700-0x280000" : { - "Action" : 11, - "Text" : "0x1b 0x1b 0x5b 0x41" - }, - "0x2d-0x40000" : { - "Action" : 11, - "Text" : "0x1f" - }, - "0xf70e-0x20000" : { - "Action" : 10, - "Text" : "[23;2~" - }, - "0xf702-0x220000" : { - "Action" : 10, - "Text" : "[1;2D" - }, - "0xf703-0x280000" : { - "Action" : 11, - "Text" : "0x1b 0x1b 0x5b 0x43" - }, - "0xf700-0x240000" : { - "Action" : 10, - "Text" : "[1;5A" - }, - "0xf707-0x20000" : { - "Action" : 10, - "Text" : "[1;2S" - }, - "0xf70a-0x20000" : { - "Action" : 10, - "Text" : "[18;2~" - }, - "0x35-0x40000" : { - "Action" : 11, - "Text" : "0x1d" - }, - "0xf70f-0x20000" : { - "Action" : 10, - "Text" : "[24;2~" - }, - "0xf703-0x240000" : { - "Action" : 10, - "Text" : "[1;5C" - }, - "0xf701-0x260000" : { - "Action" : 10, - "Text" : "[1;6B" - }, - "0xf702-0x280000" : { - "Action" : 11, - "Text" : "0x1b 0x1b 0x5b 0x44" - }, - "0xf72b-0x20000" : { - "Action" : 10, - "Text" : "[1;2F" - }, - "0x36-0x40000" : { - "Action" : 11, - "Text" : "0x1e" - }, - "0xf708-0x20000" : { - "Action" : 10, - "Text" : "[15;2~" - }, - "0xf701-0x220000" : { - "Action" : 10, - "Text" : "[1;2B" - }, - "0xf70b-0x20000" : { - "Action" : 10, - "Text" : "[19;2~" - }, - "0xf702-0x240000" : { - "Action" : 10, - "Text" : "[1;5D" - }, - "0xf704-0x20000" : { - "Action" : 10, - "Text" : "[1;2P" - } - }, - "Window Type" : 0, - "Blink Allowed" : false, - "Cursor Type" : 2, - "Background Image Location" : "", - "Blur" : false, - "Badge Color" : { - "Red Component" : 1, - "Color Space" : "sRGB", - "Blue Component" : 0, - "Alpha Component" : 0.5, - "Green Component" : 0.14910027384757996 - }, - "Scrollback Lines" : 1000, - "Send Code When Idle" : false, - "Close Sessions On End" : true, - "Terminal Type" : "xterm-256color", - "Visual Bell" : true, - "Flashing Bell" : false, - "Underline Color" : { - "Red Component" : 0.95686274766921997, - "Color Space" : "sRGB", - "Blue Component" : 0, - "Alpha Component" : 1, - "Green Component" : 0.82745099067687988 - }, - "Silence Bell" : false, - "Ansi 14 Color" : { - "Red Component" : 0.47518438100814819, - "Color Space" : "sRGB", - "Blue Component" : 0.98377496004104614, - "Alpha Component" : 1, - "Green Component" : 0.90926605463027954 - }, - "ASCII Ligatures" : false, - "Name" : "Default", - "Cursor Text Color" : { - "Red Component" : 0.99718433618545532, - "Color Space" : "sRGB", - "Blue Component" : 0.95851975679397583, - "Alpha Component" : 1, - "Green Component" : 0.99863582849502563 - }, - "Match Background Color" : { - "Red Component" : 1, - "Color Space" : "P3", - "Blue Component" : 0, - "Alpha Component" : 1, - "Green Component" : 1 - }, - "Shortcut" : "", - "Tab Color" : { - "Red Component" : 0.12156862765550613, - "Color Space" : "sRGB", - "Blue Component" : 0.38431373238563538, - "Alpha Component" : 1, - "Green Component" : 0.27058824896812439 - }, - "Ansi 0 Color" : { - "Red Component" : 0, - "Color Space" : "sRGB", - "Blue Component" : 0, - "Alpha Component" : 1, - "Green Component" : 0 - }, - "Ansi 1 Color" : { - "Red Component" : 1, - "Color Space" : "sRGB", - "Blue Component" : 0, - "Alpha Component" : 1, - "Green Component" : 0.14910027384757996 - }, - "Horizontal Spacing" : 1, - "Link Color" : { - "Red Component" : 0, - "Color Space" : "sRGB", - "Blue Component" : 0.73422712087631226, - "Alpha Component" : 1, - "Green Component" : 0.35915297269821167 - }, - "Cursor Color" : { - "Red Component" : 0.95686370134353638, - "Color Space" : "sRGB", - "Blue Component" : 2.5259620088036172e-05, - "Alpha Component" : 1, - "Green Component" : 0.82743459939956665 - }, - "Ansi 5 Color" : { - "Red Component" : 1, - "Color Space" : "sRGB", - "Blue Component" : 0.43921512365341187, - "Alpha Component" : 1, - "Green Component" : 0.17078870534896851 - }, - "Use Non-ASCII Font" : false, - "Guid" : "385D96B4-2CCC-4E95-9397-4DE647985ECF", - "Normal Font" : "InconsolataForPowerline 14", - "Ansi 2 Color" : { - "Red Component" : 0.23735573887825012, - "Color Space" : "sRGB", - "Blue Component" : 0.16916003823280334, - "Alpha Component" : 1, - "Green Component" : 0.87580806016921997 - }, - "Ansi 3 Color" : { - "Red Component" : 0.95686274766921997, - "Color Space" : "sRGB", - "Blue Component" : 0, - "Alpha Component" : 1, - "Green Component" : 0.82745099067687988 - }, - "Custom Directory" : "No" -} -] -} From 3b4007385d0050a703dae92f1e018b568691c9c7 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:35:57 -0400 Subject: [PATCH 142/165] Adds lando to brew cask --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index 3bd3ff4..ffa3a2f 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -48,6 +48,7 @@ - orbstack - postman - screenflow + - lando - slack - tableplus - thingsmacsandboxhelper From 878181564f74a3834460a9111eef7e6df70aee9a Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:39:00 -0400 Subject: [PATCH 143/165] Remove lando brew install --- homebrew.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index ffa3a2f..3bd3ff4 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -48,7 +48,6 @@ - orbstack - postman - screenflow - - lando - slack - tableplus - thingsmacsandboxhelper From 514d067893e6d9e123612d74a230634226d6ab41 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:44:44 -0400 Subject: [PATCH 144/165] Adds lando to brew cask --- homebrew.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/homebrew.yml b/homebrew.yml index 3bd3ff4..7329366 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -25,6 +25,13 @@ - install_homebrew_if_missing tasks: + # Required by Lando + - name: Ensure Rosetta 2 is installed + shell: | + /usr/sbin/softwareupdate --install-rosetta --agree-to-license + args: + creates: /Library/Apple/usr/share/rosetta + - name: Updating Homebrew homebrew: update_homebrew: true @@ -48,6 +55,7 @@ - orbstack - postman - screenflow + - lando - slack - tableplus - thingsmacsandboxhelper From 43c737dc86021b30ea5d59d50590dc82b252855b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:47:04 -0400 Subject: [PATCH 145/165] Move homebrew check --- homebrew.yml | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index 7329366..464578d 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -1,30 +1,14 @@ --- - hosts: localhost connection: local - become: false - vars: - install_homebrew_if_missing: false - - pre_tasks: - - name: Ensuring Homebrew Is Installed (Apple) - stat: - path: /opt/homebrew/bin/brew - register: homebrew_check - - - name: Fail if homebrew is not installed and install_homebrew_if_missing is False - fail: - msg: Homebrew is missing...Install from https://brew.sh/ - when: - - not homebrew_check.stat.exists - - not install_homebrew_if_missing - - - name: Installing Homebrew - shell: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - when: - - not homebrew_check.stat.exists - - install_homebrew_if_missing tasks: + - name: Ensure Homebrew is installed + command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + args: + creates: /usr/local/bin/brew + become: yes + # Required by Lando - name: Ensure Rosetta 2 is installed shell: | From 28831b06520015c7c764c875acfa67ef08c85596 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:48:10 -0400 Subject: [PATCH 146/165] Move homebrew check --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 464578d..670a88a 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -4,7 +4,7 @@ tasks: - name: Ensure Homebrew is installed - command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + command: sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: creates: /usr/local/bin/brew become: yes From 49c176f93a69a6977eee105f6074cb6c9abe5cf4 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:50:13 -0400 Subject: [PATCH 147/165] Move homebrew check --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 670a88a..464578d 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -4,7 +4,7 @@ tasks: - name: Ensure Homebrew is installed - command: sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: creates: /usr/local/bin/brew become: yes From 84d43b08822ad213eebe519ec9be7c300426370b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:52:51 -0400 Subject: [PATCH 148/165] Move homebrew check --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 464578d..d2aa950 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -4,7 +4,7 @@ tasks: - name: Ensure Homebrew is installed - command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + command: /bin/bash -c $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) args: creates: /usr/local/bin/brew become: yes From ee21e872be54fd38f75b810032565bed8d391d41 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:56:23 -0400 Subject: [PATCH 149/165] Move homebrew check --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index d2aa950..464578d 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -4,7 +4,7 @@ tasks: - name: Ensure Homebrew is installed - command: /bin/bash -c $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) + command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: creates: /usr/local/bin/brew become: yes From 0d5c82c2762a6b276d8c20ddc14cb333658d4f10 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:58:17 -0400 Subject: [PATCH 150/165] Move homebrew check --- homebrew.yml | 2 +- mac_os_apps.yml | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index 464578d..031afe3 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -4,7 +4,7 @@ tasks: - name: Ensure Homebrew is installed - command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + shell: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: creates: /usr/local/bin/brew become: yes diff --git a/mac_os_apps.yml b/mac_os_apps.yml index e8c99be..3e584d4 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -10,20 +10,3 @@ - 1569813296 # 1Password for Safari - 904280696 # Things 3 - 441258766 # Magnet - - # - name: Get Show Spotlight Search Value - # shell: /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Print AppleSymbolicHotKeys:64:enabled" - # register: ShowSpotlightSearch - # changed_when: False - - # - name: debug - # debug: - # var: ShowSpotlightSearch - # verbosity: 2 - - # - name: Set Plist Things - # shell: | - # /usr/libexec/PlistBuddy ~/Library/Preferences/com.apple.symbolichotkeys.plist -c "Set AppleSymbolicHotKeys:64:enabled false" - # /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u - # when: - # - ShowSpotlightSearch.stdout == "true" From 4d82de988e699964a000a5224771ae71075b9354 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:59:08 -0400 Subject: [PATCH 151/165] Move homebrew check --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 031afe3..8bfa148 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -4,7 +4,7 @@ tasks: - name: Ensure Homebrew is installed - shell: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: creates: /usr/local/bin/brew become: yes From b37e7b1977771f8d5dbe2970ec4163ae03d6a969 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 10:59:53 -0400 Subject: [PATCH 152/165] Move homebrew check --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 8bfa148..031afe3 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -4,7 +4,7 @@ tasks: - name: Ensure Homebrew is installed - shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + shell: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: creates: /usr/local/bin/brew become: yes From 9d4e8bfe2cb4178bd8dbf16dc12e3230ce5e2c84 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 11:01:35 -0400 Subject: [PATCH 153/165] Move homebrew check --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 031afe3..0f90c6a 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -4,7 +4,7 @@ tasks: - name: Ensure Homebrew is installed - shell: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + shell: NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: creates: /usr/local/bin/brew become: yes From 128c4dfcb883e1a4e1f9a446155039f8a3496027 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 11:02:29 -0400 Subject: [PATCH 154/165] Move homebrew check --- homebrew.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 0f90c6a..f51bd25 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -7,7 +7,6 @@ shell: NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: creates: /usr/local/bin/brew - become: yes # Required by Lando - name: Ensure Rosetta 2 is installed From 8b721100c43f38338005ebff78c915712b6660b1 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 11:03:30 -0400 Subject: [PATCH 155/165] Move homebrew check --- homebrew.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index f51bd25..041c303 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -19,7 +19,6 @@ homebrew: update_homebrew: true upgrade: true - when: homebrew_check.stat.exists - name: Install core packages via brew casks community.general.homebrew_cask: From 5dd4c980faf3e7df5afebd2f49db78a542dcc81f Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 11:06:49 -0400 Subject: [PATCH 156/165] Move homebrew check --- homebrew.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 041c303..99c19bd 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -6,7 +6,7 @@ - name: Ensure Homebrew is installed shell: NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" args: - creates: /usr/local/bin/brew + creates: /opt/homebrew/bin/brew # Required by Lando - name: Ensure Rosetta 2 is installed From 799a18656762796369bdb373b224aee205333e26 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 11:08:58 -0400 Subject: [PATCH 157/165] Update brew check in vs_code install --- homebrew.yml | 10 +++++----- vs_code.yml | 25 +++++-------------------- 2 files changed, 10 insertions(+), 25 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index 99c19bd..40c7836 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -8,6 +8,11 @@ args: creates: /opt/homebrew/bin/brew + - name: Updating Homebrew + homebrew: + update_homebrew: true + upgrade: true + # Required by Lando - name: Ensure Rosetta 2 is installed shell: | @@ -15,11 +20,6 @@ args: creates: /Library/Apple/usr/share/rosetta - - name: Updating Homebrew - homebrew: - update_homebrew: true - upgrade: true - - name: Install core packages via brew casks community.general.homebrew_cask: name: diff --git a/vs_code.yml b/vs_code.yml index 4b081af..8661bfb 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -3,31 +3,16 @@ connection: local become: false - pre_tasks: - - name: Ensuring Homebrew Is Installed - stat: - path: /opt/homebrew/bin/brew - register: homebrew_check - - - name: Fail if homebrew is not installed and install_homebrew_if_missing is False - fail: - msg: Homebrew is missing...Install from https://brew.sh/ - when: - - not homebrew_check.stat.exists - - not install_homebrew_if_missing - - - name: Installing Homebrew - shell: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - when: - - not homebrew_check.stat.exists - - install_homebrew_if_missing - tasks: + - name: Ensure Homebrew is installed + shell: NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + args: + creates: /opt/homebrew/bin/brew + - name: Updating Homebrew homebrew: update_homebrew: true upgrade: true - when: homebrew_check.stat.exists - name: Install core packages via brew casks community.general.homebrew_cask: From 9ca26bdbd24bda2735596e6b157344ed7eeb4a7b Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 11:09:54 -0400 Subject: [PATCH 158/165] Run everything by default --- local.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/local.yml b/local.yml index 1b10c18..de73291 100644 --- a/local.yml +++ b/local.yml @@ -3,6 +3,8 @@ - import_playbook: command_line.yml - import_playbook: vs_code.yml - import_playbook: mac_os_apps.yml +- import_playbook: zsh.yml +- import_playbook: dock.yml From ee5158ce5993ce23ead72d410208010beca0848c Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Fri, 21 Jun 2024 11:26:15 -0400 Subject: [PATCH 159/165] remove things helper --- homebrew.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/homebrew.yml b/homebrew.yml index 40c7836..a8731e1 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -40,7 +40,6 @@ - lando - slack - tableplus - - thingsmacsandboxhelper - transmit - visual-studio-code - zoom From b942a15638969b4f70980bb00a307f1b6d4ef172 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Mon, 24 Jun 2024 17:33:27 -0400 Subject: [PATCH 160/165] Adds cask local --- homebrew.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/homebrew.yml b/homebrew.yml index a8731e1..3b13a04 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -38,6 +38,7 @@ - postman - screenflow - lando + - local - slack - tableplus - transmit From e768e4ff6e6a5ae9bd724e3947a7d847d8f53a04 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Mon, 21 Oct 2024 16:37:45 -0400 Subject: [PATCH 161/165] Update vs code extensions --- vs_code.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/vs_code.yml b/vs_code.yml index 8661bfb..b0b2d01 100644 --- a/vs_code.yml +++ b/vs_code.yml @@ -30,18 +30,23 @@ - bradlc.vscode-tailwindcss - breezelin.phpstan - chouzz.vscode-better-align - - DavidAnson.vscode-markdownlint - - DotJoshJohnson.xml + - davidanson.vscode-markdownlint + - dotjoshjohnson.xml - eamodio.gitlens - - EditorConfig.EditorConfig + - editorconfig.editorconfig - formulahendry.auto-close-tag - formulahendry.auto-rename-tag - - GitHub.codespaces - - GitHub.github-vscode-theme + - github.codespaces + - github.copilot + - github.copilot-chat + - github.github-vscode-theme - hashicorp.terraform - jebbs.plantuml - johnbillion.vscode-wordpress-hooks - mohd-akram.vscode-html-format + - ms-azuretools.vscode-docker + - ms-playwright.playwright + - ms-python.debugpy - ms-python.python - ms-python.vscode-pylance - ms-vscode-remote.remote-containers @@ -49,16 +54,16 @@ - naumovs.color-highlight - neilbrayfield.php-docblocker - phproberto.vscode-php-getters-setters - - PKief.material-icon-theme + - pkief.material-icon-theme - redhat.vscode-yaml - sdras.night-owl - - SimonSiefke.svg-preview - - SimplyDanny.modelica + - simonsiefke.svg-preview + - simplydanny.modelica - streetsidesoftware.code-spell-checker - - Tyriar.sort-lines + - tyriar.sort-lines - valeryanm.vscode-phpsab - vincaslt.highlight-matching-tag - - Vue.volar + - vue.volar - wayou.vscode-todo-highlight - whatwedo.twig - xdebug.php-debug From ba3840660270c056ccb025dd5bf3d29900086a99 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Mon, 21 Oct 2024 16:39:23 -0400 Subject: [PATCH 162/165] Update vs code settings --- files/vs-code-settings.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/files/vs-code-settings.json b/files/vs-code-settings.json index 8202509..f3a87bf 100644 --- a/files/vs-code-settings.json +++ b/files/vs-code-settings.json @@ -1,7 +1,7 @@ { "editor.lineHeight": 22, "editor.fontFamily": "Fira Code", - "editor.fontLigatures": true, + "editor.fontLigatures": false, "editor.fontSize": 13, "editor.rulers": [80], "editor.insertSpaces": false, @@ -21,11 +21,8 @@ }, "workbench.iconTheme": "material-icon-theme", "workbench.sideBar.location": "right", - "explorer.openEditors.visible": 0, + "explorer.openEditors.visible": 1, "workbench.settings.editor": "json", - "files.exclude": { - "**/.git": false - }, "launch": { "configurations": [ { @@ -103,16 +100,13 @@ "intelephense.environment.shortOpenTag": false, "intelephense.format.braces": "k&r", "editor.renderWhitespace": "none", - "php.validate.executablePath": "/usr/local/bin/php", + "php.validate.executablePath": "/opt/homebrew/bin/php", "json.maxItemsComputed": 15000, "intelephense.phpdoc.returnVoid": false, "php-docblocker.returnVoid": false, "php-docblocker.useShortNames": true, "workbench.colorTheme": "Night Owl", "editor.minimap.enabled": false, - "[php]": { - "editor.defaultFormatter": "valeryanm.vscode-phpsab" - }, "redhat.telemetry.enabled": false, "phpstan.autoloadFile": "", "phpstan.configuration": "", @@ -136,4 +130,7 @@ "Slic" ], "diffEditor.ignoreTrimWhitespace": false, + "phpsab.snifferShowSources": true, + "security.promptForLocalFileProtocolHandling": false, + "playwright.reuseBrowser": false, } \ No newline at end of file From 074c2b503934a4bf0d7fb0c613a95dadbb05ffb6 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Mon, 21 Oct 2024 16:41:17 -0400 Subject: [PATCH 163/165] Update zshrc --- files/.zshrc.j2 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/files/.zshrc.j2 b/files/.zshrc.j2 index 628df99..5f9f9fd 100644 --- a/files/.zshrc.j2 +++ b/files/.zshrc.j2 @@ -97,11 +97,10 @@ source $ZSH/oh-my-zsh.sh # # Example aliases export XDEBUG_CONFIG="idekey=VSCODE" -export PATH="/usr/local/sbin:$PATH" -export PATH="$HOME/Code/repos/slic:$PATH" -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion +# nvm +export NVM_DIR="$HOME/.nvm" +[ -s "$HOMEBREW_PREFIX/opt/nvm/nvm.sh" ] && \. "$HOMEBREW_PREFIX/opt/nvm/nvm.sh" # This loads nvm +[ -s "$HOMEBREW_PREFIX/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$HOMEBREW_PREFIX/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion -source ~/.aliases.zsh \ No newline at end of file +source ~/.aliases.zsh From f6f002c55f23d254a4f5b1f888ba9490f482cc8d Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Mon, 21 Oct 2024 17:09:14 -0400 Subject: [PATCH 164/165] Remove magnet app --- mac_os_apps.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mac_os_apps.yml b/mac_os_apps.yml index 3e584d4..4e480ad 100644 --- a/mac_os_apps.yml +++ b/mac_os_apps.yml @@ -8,5 +8,4 @@ community.general.mas: id: # Use `mas search 'APP_NAME'` to find id. - 1569813296 # 1Password for Safari - - 904280696 # Things 3 - - 441258766 # Magnet + - 904280696 # Things 3 \ No newline at end of file From 8ff604957c1a2be358abcdbd3accd25fc080ee63 Mon Sep 17 00:00:00 2001 From: Chris Kindred Date: Tue, 14 Jan 2025 16:14:53 -0500 Subject: [PATCH 165/165] Add prismlauncher to brew --- homebrew.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/homebrew.yml b/homebrew.yml index 3b13a04..bcf4cdc 100644 --- a/homebrew.yml +++ b/homebrew.yml @@ -34,11 +34,12 @@ - google-chrome - imageOptim - iterm2 + - lando + - local - orbstack - postman + - prismlauncher - screenflow - - lando - - local - slack - tableplus - transmit