From c0b7aa3931b778de847791ddf1b334b838ec5df6 Mon Sep 17 00:00:00 2001 From: Joe Lillibridge Date: Wed, 4 Dec 2024 12:12:05 -0600 Subject: [PATCH] wip --- .config/yadm/bootstrap.d/iterm2.sh | 16 ---------------- .config/yadm/bootstrap.d/iterm2.sh##os.Darwin | 10 ++++++++++ 2 files changed, 10 insertions(+), 16 deletions(-) delete mode 100755 .config/yadm/bootstrap.d/iterm2.sh create mode 100755 .config/yadm/bootstrap.d/iterm2.sh##os.Darwin diff --git a/.config/yadm/bootstrap.d/iterm2.sh b/.config/yadm/bootstrap.d/iterm2.sh deleted file mode 100755 index d787feb..0000000 --- a/.config/yadm/bootstrap.d/iterm2.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -system_type=$(uname -s) - -if [ "$system_type" = "Darwin" ]; then - - # possibly add something here to ensure iTerm2 is installed using Homebrew - # cask like in the previous example - - if [ -d "$HOME/.iterm2" ]; then - echo "Setting iTerm preference folder" - defaults write com.googlecode.iterm2 PreferredBaseDir "$HOME/.iterm2" - defaults write com.googlecode.iterm2 PrefsCustomFolder "$HOME/.iterm2" - fi - -fi \ No newline at end of file diff --git a/.config/yadm/bootstrap.d/iterm2.sh##os.Darwin b/.config/yadm/bootstrap.d/iterm2.sh##os.Darwin new file mode 100755 index 0000000..ff2fd77 --- /dev/null +++ b/.config/yadm/bootstrap.d/iterm2.sh##os.Darwin @@ -0,0 +1,10 @@ +#!/bin/sh + +# possibly add something here to ensure iTerm2 is installed using Homebrew +# cask like in the previous example + +if [ -d "$HOME/.iterm2" ]; then + echo "Setting iTerm preference folder" + defaults write com.googlecode.iterm2 PreferredBaseDir "$HOME/.iterm2" + defaults write com.googlecode.iterm2 PrefsCustomFolder "$HOME/.iterm2" +fi \ No newline at end of file