Sourcing .bash_profile not .bashrc

This commit is contained in:
Alex Epstein 2017-07-05 10:23:55 -04:00
parent 0e70ea9e95
commit 114a734c92
2 changed files with 3 additions and 5 deletions

View File

@ -170,10 +170,8 @@ Valid items are: shows, books, music, artists, movies, authors, games
</div>
### 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

View File

@ -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