Intended for setting up a shell for use with a copied home directory, likely for starting emacs or using other transferred software. Intended to be shell agnostic.
#In order for the variables to be set in zsh, need to evoke this script with source
. Might also work in bash
or sh
. Either way, the first line (<!--) will likely produce a message (seemingly innocuous):
setup-shell.html:1: no such file or directory: !--
But it continues anyway.
The "elec/" directory has esoteric libraries and exoteric commands, with their typical self-organization: "bin/", "include/", "lib/", "share/", and so on. Additional applications, precompiled software, and new commands are in the repository of newspeak: "elec/tron/". Incoming compilable software is in "elec/tric/". The installed versions of everything is in "elec/tive/".
#The precompiled version expands into a directory named with the current version number of ImageMagick, therefore expecting a symlink in "~/elec/tron" generically named "ImageMagick" for a consistent path.
#These are the $HOME executable paths prepended to the expected basic paths for the system.
#
export PATH\
=$HOME/elec/bin\
\
:$HOME/elec/tron\
/ImageMagick/bin\
\
:/usr/local/bin\
:/usr/bin\
:/bin\
\
:$HOME/elec/sbin\
:/usr/local/sbin\
:/usr/sbin\
:/sbin
#
The precompiled version of ImageMagick for macOS requires its "lib" directory in the environment variable DYLD_LIBRARY_PATH.
#
export DYLD_LIBRARY_PATH\
=$HOME/elec/tron\
/ImageMagick/lib
#