From 91c162a32251cc0361f36a159c01eb631f2df4b3 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 15 Aug 2015 22:14:39 -0700 Subject: [PATCH] clear_path --- dotfiles/lib/shellenv/functions.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dotfiles/lib/shellenv/functions.sh b/dotfiles/lib/shellenv/functions.sh index bf3e29c7..8590c42b 100644 --- a/dotfiles/lib/shellenv/functions.sh +++ b/dotfiles/lib/shellenv/functions.sh @@ -372,8 +372,14 @@ function parse_timestamp { date -d "@$(echo $1 | cut -c -10)" } -function refresh_config { +function clear_path { + export PATH="/bin:/usr/local/bin" + unset PATH_HELPER_RAN unset ENVIRONMENT_SETUP_DONE +} + +function refresh_config { + clear_path source ~/.zshenv source ~/.zshrc }