« get me outta code hell

panacea: fix up imports, add python 3 - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/device
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-20 20:52:12 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-03-20 20:52:12 -0300
commitcf22a0a3cbe3f2633dd61eb229791e717ce810c0 (patch)
tree64dd00c62518d14174d38b235d0446b3afadb212 /device
parent5d4bdc00a0c521bb1bd9ef46f17c2312daa5ab1f (diff)
panacea: fix up imports, add python 3
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"