[zsh] Update init-env-python and init-env-playdate
This commit is contained in:
parent
aea4ff965e
commit
75e32e473a
5 changed files with 32 additions and 40 deletions
15
zsh/func/init-env-playdate
Normal file
15
zsh/func/init-env-playdate
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
autoload -Uz prepend_to_path
|
||||
|
||||
function init-env-playdate
|
||||
{
|
||||
local -r sdk_path="$HOME/Developer/PlaydateSDK"
|
||||
if [[ -d "$sdk_date" ]]; then
|
||||
export PLAYDATE_SDK_PATH="$sdk_path"
|
||||
prepend_to_path "$PLAYDATE_SDK_PATH/bin"
|
||||
fi
|
||||
}
|
||||
|
||||
init-env-playdate "$@"
|
Loading…
Add table
Add a link
Reference in a new issue