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