« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/panacea_nebula_pre2
-rwxr-xr-xdevice/panacea_portedly_pre2
-rw-r--r--device/panacea_pre3
3 files changed, 5 insertions, 2 deletions
diff --git a/device/panacea_nebula_pre b/device/panacea_nebula_pre
index 17803d1..79aeed9 100644
--- a/device/panacea_nebula_pre
+++ b/device/panacea_nebula_pre
@@ -12,4 +12,4 @@
 # ~nebula, which is kept logged into basically everything we
 # use online (including Apple ID).
 
-source "$(realpath "$0" | xargs dirname)/panacea_pre"
+source "$(realpath "$0" | xargs -0 dirname)/panacea_pre"
diff --git a/device/panacea_portedly_pre b/device/panacea_portedly_pre
index dcbccf5..c77a684 100755
--- a/device/panacea_portedly_pre
+++ b/device/panacea_portedly_pre
@@ -12,7 +12,7 @@
 # which is kept separate from our personal one (~nebula) and
 # is not logged into Apple ID, etc.
 
-source "$(realpath "$0" | xargs dirname)/panacea_pre"
+source "$(realpath "$0" | xargs -0 dirname)/panacea_pre"
 
 export DEVICE_HAS_HOMEBREW
 export DEVICE_HOMEBREW_INSTALLATION="$HOME/brew"
diff --git a/device/panacea_pre b/device/panacea_pre
index 45bd702..9c3b8e1 100644
--- a/device/panacea_pre
+++ b/device/panacea_pre
@@ -18,5 +18,8 @@ export DEVICE_HOMEBREW_INSTALLATION="/opt/homebrew"
 export DEVICE_HAS_NVM
 export DEVICE_NVM_INSTALLATION="$HOME/.nvm"
 
+export DEVICE_HAS_PYTHON_3
+export DEVICE_PYTHON_3_INSTALLATION="$HOME/Library/Python/3.9"
+
 export DEVICE_HAS_SUBLIME_TEXT
 export DEVICE_SUBLIME_TEXT_INSTALLATION="/Applications/Sublime Text.app"