summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-01-10 11:01:28 +0100
committerTobias Klauser <tklauser@distanz.ch>2013-01-10 11:01:28 +0100
commit0c228d1db10920e6bb4f4bb59b92551420832d49 (patch)
tree597150bc65e89f87b9d1a91532b0967061732f2d
parent85534ad88eff24c643562fd6b8e8150b4df26793 (diff)
zshrc/30_aliases: add pylab aliases (ipython with --pylab)
-rw-r--r--.zsh/zshrc/30_aliases4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases
index 82f243d..f52c9e5 100644
--- a/.zsh/zshrc/30_aliases
+++ b/.zsh/zshrc/30_aliases
@@ -38,6 +38,10 @@ alias mkdir='nocorrect mkdir'
alias mv='nocorrect mv'
alias rm='nocorrect rm'
+# python
+alias pylab='ipython --pylab'
+alias qpylab='ipython qtconsole --ConsoleWidget.font_family="Inconsolata" --ConsoleWidget.font_size=11 --colors=Linux --pylab '
+
# get top 10 shell commands
alias top10='print -l ? ${(o)history%% *} | uniq -c | sort -nr | head -n 10'