From 7993439e1d998896a70e5a7e8a259f810cde142d Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 20 Mar 2023 08:41:39 -0700 Subject: [PATCH] [zsh] Add playdate SDK configuration to the shell --- zsh/func/init_env_playdate | 8 ++++++++ zshenv | 1 + 2 files changed, 9 insertions(+) create mode 100644 zsh/func/init_env_playdate diff --git a/zsh/func/init_env_playdate b/zsh/func/init_env_playdate new file mode 100644 index 0000000..875fcef --- /dev/null +++ b/zsh/func/init_env_playdate @@ -0,0 +1,8 @@ +#!/usr/bin/env zsh +# Eryn Wells + +autoload prepend_to_path + +export PLAYDATE_SDK_PATH="$HOME/Developer/PlaydateSDK" + +prepend_to_path "$PLAYDATE_SDK_PATH/bin" diff --git a/zshenv b/zshenv index 11a7c4d..825d528 100644 --- a/zshenv +++ b/zshenv @@ -16,6 +16,7 @@ typeset -a zsh_init_env_functions=( \ init_env \ init_env_aliases \ init_env_python \ + init_env_playdate \ init_env_vi \ init_env_$SYS \ )