[zsh] Add init_xcode and call it from darwin_init_once; add ~df path to dotfiles
This commit is contained in:
parent
4d3a7e4017
commit
6c622b0aaf
3 changed files with 18 additions and 0 deletions
13
zsh/func/init_xcode
Normal file
13
zsh/func/init_xcode
Normal 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 "%@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue