[zsh] Move func/ directory to zsh/functions
This commit is contained in:
parent
91da2fc583
commit
7c08c5131f
53 changed files with 1 additions and 1 deletions
15
zsh/functions/init-env-darwin
Normal file
15
zsh/functions/init-env-darwin
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
function init-env-darwin
|
||||
{
|
||||
local -r xcode_library="$HOME/Library/Developer/Xcode"
|
||||
if [[ -d "$xcode_library" ]]; then
|
||||
export XCODE_LIBRARY="$xcode_library"
|
||||
export XCODE_DERIVED_DATA="$XCODE_LIBRARY/DerivedData"
|
||||
export XCODE_INSTALLS="$XCODE_LIBRARY/Installs"
|
||||
export dd="$XCODE_DERIVED_DATA"
|
||||
fi
|
||||
}
|
||||
|
||||
init-env-darwin "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue