[zsh] Add init_xcode and call it from darwin_init_once; add ~df path to dotfiles

This commit is contained in:
Eryn Wells 2023-07-01 10:23:22 -07:00
parent 4d3a7e4017
commit 6c622b0aaf
3 changed files with 18 additions and 0 deletions

13
zsh/func/init_xcode Normal file
View file

@ -0,0 +1,13 @@
# Eryn Wells <eryn@erynwells.me>
# vim: ft=zsh:
function init_xcode
{
if [[ -d "~df/Xcode/IDETemplateMacros.plist" ]]; then
echo "Copying IDETemplateMacros.plist"
mkdir -p ~/Library/Developer/Xcode/UserData
cp ~df/Xcode/IDETemplateMacros.plist ~/Library/Developer/Xcode/UserData
fi
}
init_xcode "%@"