Skip to content

Commit

Permalink
Added an alias to get bitcoin money current value
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed Dec 2, 2017
1 parent 8da4f2f commit 2599b13
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .aliases
@@ -1,13 +1,16 @@
# Navigation
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias -- -="cd -"
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias -- -='cd -'

# URLs
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);"'

# Current bitcoin value
alias bitcoin='curl -s https://api.cryptowat.ch/markets/summaries | jq ".result.\"kraken:btceur\".price.last"'

# cURL
alias curltime="curl -w \"\nConnect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n\""

Expand Down

0 comments on commit 2599b13

Please sign in to comment.