aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S50_functions
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2018-01-17 20:42:50 +0500
committerAnton Bobov <abobov@gmail.com>2018-01-17 20:46:49 +0500
commit7d467a15263572b40bb227f5ce00cfc7e2b0ba76 (patch)
tree7ebac359668e8787fff7141fdedc37311c4fd6fd /files/.zsh/rc/S50_functions
parent80ab1700421e2ebb4a81436c09c4bee46dffa99d (diff)
Update config.
Diffstat (limited to 'files/.zsh/rc/S50_functions')
-rw-r--r--files/.zsh/rc/S50_functions34
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))