From 2d6e7e0d7b1823c007e30d092ba086c67ea29d01 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Wed, 21 Aug 2024 23:18:27 -0400 Subject: [PATCH] Adding Wye. The new work machine --- zsh/environment/host/wye/zshenv | 25 +++++++++++++++++++++++++ zsh/environment/host/wye/zshrc | 17 +++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 zsh/environment/host/wye/zshenv create mode 100644 zsh/environment/host/wye/zshrc diff --git a/zsh/environment/host/wye/zshenv b/zsh/environment/host/wye/zshenv new file mode 100644 index 0000000..20e2df0 --- /dev/null +++ b/zsh/environment/host/wye/zshenv @@ -0,0 +1,25 @@ +#!/usr/bin/env zsh +export HOMEBREW_PREFIX="/opt/homebrew"; +export HOMEBREW_CELLAR="/opt/homebrew/Cellar"; +export HOMEBREW_REPOSITORY="/opt/homebrew"; +export PYTHON_BIN="$($HOMEBREW_PREFIX/bin/brew --prefix python)/libexec/bin" +export HOMEBREW_BIN='/usr/local/bin' +export HOMEBREW_SBIN='/usr/local/sbin' +export GOPATH="${HOME}/.go" +export PSQLAPP="/Applications/Postgres.app/Contents/Versions/latest/bin" +export JAVA_HOME=$(/usr/libexec/java_home -v 17) +export DOOM_EMACS_BIN="${HOME}/.emacs.d/bin" + +path=( + $DOOM_EMACS_BIN + $PYTHON_BIN + $PSQLAPP + $JAVA_HOME/bin + $HOMEBREW_PREFIX/bin + $HOMEBREW_PREFIX/sbin + $HOMEBREW_BIN + $HOMEBREW_SBIN + $path) + +[ -z "${MANPATH-}" ] || export MANPATH=":${MANPATH#:}"; +export INFOPATH="${HOMEBREW_PREFIX}/share/info:${INFOPATH:-}"; diff --git a/zsh/environment/host/wye/zshrc b/zsh/environment/host/wye/zshrc new file mode 100644 index 0000000..9d78900 --- /dev/null +++ b/zsh/environment/host/wye/zshrc @@ -0,0 +1,17 @@ +#!/usr/bin/env zsh +GF_BASE="/Users/james/Code/GreenFiling/eclipse/GreenFiling" +GF_JOURNAL="/Users/james/Code/GreenFiling/eclipse/JournalClient" +GF_ONELEGAL="/Users/james/Code/GreenFiling/eclipse/OneLegalClient" +GF_TYLER="/Users/james/Code/GreenFiling/eclipse/TexFileClient" +GF_TYBERA="/Users/james/Code/GreenFiling/eclipse/TyberaClient" +GF_LOG="/Users/james/Code/GreenFiling/data/logs" + +switch () { + pushd "/Users/james/Documents/greenfiling/buildtools/switch" + bundle exec ruby switch.rb $@ + popd +} + +if (( $+commands[rbenv] )) ; then + eval "$(rbenv init - --no-rehash zsh)" +fi