From 114a734c92931ccd8a6e22a8982c95e2ddbb839b Mon Sep 17 00:00:00 2001 From: Alex Epstein Date: Wed, 5 Jul 2017 10:23:55 -0400 Subject: [PATCH] Sourcing .bash_profile not .bashrc --- README.md | 6 ++---- taste/taste | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 798f398..bb0838c 100644 --- a/README.md +++ b/README.md @@ -170,10 +170,8 @@ Valid items are: shows, books, music, artists, movies, authors, games -### Needs an API Key -* To get an API key visit https://tastedive.com/account/api_access -* After getting the API key run the following command: export TASTE_API_KEY="yourAPIKeyGoesHere" -* If issues occur first try setting the API key without quotations marks +### Needs an API Key (don't worry it's free) +* After getting the API key add the following line to your ~/.bash_profile: ```export TASTE_API_KEY="yourAPIKeyGoesHere"``` ## Short diff --git a/taste/taste b/taste/taste index 85867df..3695df0 100755 --- a/taste/taste +++ b/taste/taste @@ -3,7 +3,7 @@ currentVersion="1.9.0" configuredClient="" -source ~/.bashrc ## allows grabbing enviornment variable +source ~/.bash_profile ## allows grabbing enviornment variable apiKey=$TASTE_API_KEY info="0" ## indicates if we want extra info search="0" ## indivates that we want results on the item itself