From 7486f1eecc91c0f8990ddb25131a1d2c0d79479c Mon Sep 17 00:00:00 2001 From: James Patrick Date: Mon, 8 Mar 2021 00:07:05 -0500 Subject: [PATCH] Fixing work aliases --- zsh/environment/host/wok/zshrc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/zsh/environment/host/wok/zshrc b/zsh/environment/host/wok/zshrc index 7934649..c7fb31a 100644 --- a/zsh/environment/host/wok/zshrc +++ b/zsh/environment/host/wok/zshrc @@ -1,9 +1,14 @@ -GF_BASE="/Users/james/Code/GreenFiling/workspace/GreenFiling" -GF_JOURNAL="/Users/james/Code/GreenFiling/workspace/JournalClient" -GF_ONELEGAL="/Users/james/Code/GreenFiling/workspace/OneLegalClient" -GF_TYLER="/Users/james/Code/GreenFiling/workspace/TexFileClient" -GF_TYBERA="/Users/james/Code/GreenFiling/workspace/TyberaClient" +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" -alias switch="cd /Users/james/Code/GreenFiling/buildtools/switch && bundle exec ruby switch.rb " + +switch(){ + pushd /Users/james/Code/GreenFiling/buildtools/switch + bundle exec ruby switch.rb $@ + popd +} eval "$(rbenv init -)"