diff options
Diffstat (limited to 'files/.zsh/rc/S50_functions')
| -rw-r--r-- | files/.zsh/rc/S50_functions | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/files/.zsh/rc/S50_functions b/files/.zsh/rc/S50_functions index a8dfeef..28e585a 100644 --- a/files/.zsh/rc/S50_functions +++ b/files/.zsh/rc/S50_functions @@ -6,40 +6,6 @@ ppgrep() { pgrep "$@" | xargs --no-run-if-empty ps fp } -stocks() { - if [ -z "$1" ] ; then - cat <<EOM -stocks NAME - -Get current stock value for NAME. - -Example: - - $ stocks GOOG - $ stocks EURUSD=x -EOM - return - fi - curl -s 'http://download.finance.yahoo.com/d/quotes.csv?s='$1'&f=l1' -} - -xe() { - if [ -z "$1" ] ; then - cat <<EOM -xe NAME - -Get exchange rates. - -Example: - - $ xe EURRUB - $ xe usdrub -EOM - return - fi - stocks "$1=x" -} - setgov() { GOVS=($(cpufreq-info -g)) |
