diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-12-22 11:49:31 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-12-22 11:49:59 -0400 |
commit | c35823a20ed94b2d6c367dd40057a5255621a50c (patch) | |
tree | 611d9a7a579f04b1b3565704558174cfb05ef568 /device | |
parent | b8dd471452192fb9089c83458a820a0e96bf9d5b (diff) |
panacea: use common file for common settings
Diffstat (limited to 'device')
-rw-r--r-- | device/panacea_nebula_post | 6 | ||||
-rw-r--r-- | device/panacea_nebula_pre | 15 | ||||
-rwxr-xr-x | device/panacea_portedly_pre | 11 | ||||
-rw-r--r-- | device/panacea_post | 2 | ||||
-rw-r--r-- | device/panacea_pre | 9 |
5 files changed, 25 insertions, 18 deletions
diff --git a/device/panacea_nebula_post b/device/panacea_nebula_post new file mode 100644 index 0000000..059da9b --- /dev/null +++ b/device/panacea_nebula_post @@ -0,0 +1,6 @@ +#!/bin/zsh + +# Portable Panacea (~nebula) +# See panacea_nebula_pre for info. + +source "$(realpath "$0" | xargs dirname)/panacea_post" diff --git a/device/panacea_nebula_pre b/device/panacea_nebula_pre new file mode 100644 index 0000000..17803d1 --- /dev/null +++ b/device/panacea_nebula_pre @@ -0,0 +1,15 @@ +#!/bin/zsh + +# Portable Panacea (~nebula) +# panacea.local +# +# This is a MacBook Pro 14,10 (M2 Pro, 2023). +# Acquired in 2023. +# +# This is our primary portable development device. It's used +# for a large portion of our overall programming, even at home. +# These settings apply to our shared personal user account, +# ~nebula, which is kept logged into basically everything we +# use online (including Apple ID). + +source "$(realpath "$0" | xargs dirname)/panacea_pre" diff --git a/device/panacea_portedly_pre b/device/panacea_portedly_pre index 25000fe..dcbccf5 100755 --- a/device/panacea_portedly_pre +++ b/device/panacea_portedly_pre @@ -12,16 +12,7 @@ # which is kept separate from our personal one (~nebula) and # is not logged into Apple ID, etc. -export DEVICE_HAS_GPG +source "$(realpath "$0" | xargs dirname)/panacea_pre" export DEVICE_HAS_HOMEBREW export DEVICE_HOMEBREW_INSTALLATION="$HOME/brew" - -export DEVICE_HAS_NVM -export DEVICE_NVM_INSTALLATION="$HOME/.nvm" - -# export DEVICE_HAS_PYENV -# export DEVICE_PYENV_CONFIGURATION="" - -export DEVICE_HAS_SUBLIME_TEXT -export DEVICE_SUBLIME_TEXT_INSTALLATION="/Applications/Sublime Text.app" diff --git a/device/panacea_post b/device/panacea_post index 943e80e..d280fd4 100644 --- a/device/panacea_post +++ b/device/panacea_post @@ -1,4 +1,4 @@ #!/bin/zsh -# Portable Panacea (~nebula) +# Portable Panacea # See panacea_pre for info. diff --git a/device/panacea_pre b/device/panacea_pre index 7f6959b..45bd702 100644 --- a/device/panacea_pre +++ b/device/panacea_pre @@ -1,6 +1,6 @@ #!/bin/zsh -# Portable Panacea (~nebula) +# Portable Panacea # panacea.local # # This is a MacBook Pro 14,10 (M2 Pro, 2023). @@ -8,9 +8,7 @@ # # This is our primary portable development device. It's used # for a large portion of our overall programming, even at home. -# These settings apply to our shared personal user account, -# ~nebula, which is kept logged into basically everything we -# use online (including Apple ID). +# These settings are common across accounts on this device. export DEVICE_HAS_GPG @@ -20,8 +18,5 @@ export DEVICE_HOMEBREW_INSTALLATION="/opt/homebrew" export DEVICE_HAS_NVM export DEVICE_NVM_INSTALLATION="$HOME/.nvm" -# export DEVICE_HAS_PYENV -# export DEVICE_PYENV_CONFIGURATION="" - export DEVICE_HAS_SUBLIME_TEXT export DEVICE_SUBLIME_TEXT_INSTALLATION="/Applications/Sublime Text.app" |