From 849a0c4bcb298c568403c5daeb006158cf014fbc Mon Sep 17 00:00:00 2001 From: Jacob Bohanon Date: Wed, 14 Sep 2022 21:42:47 +0000 Subject: [PATCH] remove platform/user specific file paths --- zsh/config.d/gcloud.zsh | 4 ++-- zsh/config.d/oh-my.zsh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/config.d/gcloud.zsh b/zsh/config.d/gcloud.zsh index 233ba7b..f9673c9 100644 --- a/zsh/config.d/gcloud.zsh +++ b/zsh/config.d/gcloud.zsh @@ -1,8 +1,8 @@ # The next line updates PATH for the Google Cloud SDK. -if [ -f '/Users/jacobbohanon/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/jacobbohanon/google-cloud-sdk/path.zsh.inc'; fi +if [ -f "$HOME/google-cloud-sdk/path.zsh.inc" ]; then . "$HOME/google-cloud-sdk/path.zsh.inc"; fi # The next line enables shell command completion for gcloud. -if [ -f '/Users/jacobbohanon/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/jacobbohanon/google-cloud-sdk/completion.zsh.inc'; fi +if [ -f "$HOME/google-cloud-sdk/completion.zsh.inc" ]; then . "$HOME/google-cloud-sdk/completion.zsh.inc"; fi alias startenvoydev="gcloud compute instances start bohanon-envoy-dev --zone us-central1-a --project solo-test-236622 && gcloud compute config-ssh --force-key-file-overwrite --project solo-test-236622" alias stopenvoydev="gcloud compute instances stop bohanon-envoy-dev --zone us-central1-a --project solo-test-236622" diff --git a/zsh/config.d/oh-my.zsh b/zsh/config.d/oh-my.zsh index 34c5cb3..75202c0 100644 --- a/zsh/config.d/oh-my.zsh +++ b/zsh/config.d/oh-my.zsh @@ -1,5 +1,5 @@ # Path to your oh-my-zsh installation. -export ZSH=/Users/jacobbohanon/.oh-my-zsh +export ZSH=$HOME/.oh-my-zsh # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded.