mirror of
https://github.com/alexanderepstein/Bash-Snippets
synced 2018-11-08 02:59:35 +01:00
Sourcing .bash_profile not .bashrc
This commit is contained in:
parent
0e70ea9e95
commit
114a734c92
@ -170,10 +170,8 @@ Valid items are: shows, books, music, artists, movies, authors, games
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### Needs an API Key
|
### Needs an API Key (don't worry it's free)
|
||||||
* To get an API key visit https://tastedive.com/account/api_access
|
* After getting the API key add the following line to your ~/.bash_profile: ```export TASTE_API_KEY="yourAPIKeyGoesHere"```
|
||||||
* 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
|
|
||||||
|
|
||||||
## Short
|
## Short
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
currentVersion="1.9.0"
|
currentVersion="1.9.0"
|
||||||
configuredClient=""
|
configuredClient=""
|
||||||
source ~/.bashrc ## allows grabbing enviornment variable
|
source ~/.bash_profile ## allows grabbing enviornment variable
|
||||||
apiKey=$TASTE_API_KEY
|
apiKey=$TASTE_API_KEY
|
||||||
info="0" ## indicates if we want extra info
|
info="0" ## indicates if we want extra info
|
||||||
search="0" ## indivates that we want results on the item itself
|
search="0" ## indivates that we want results on the item itself
|
||||||
|
Loading…
Reference in New Issue
Block a user