summaryrefslogtreecommitdiffstats
path: root/.bashrc-python
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc-python')
-rw-r--r--.bashrc-python10
1 files changed, 10 insertions, 0 deletions
diff --git a/.bashrc-python b/.bashrc-python
new file mode 100644
index 0000000..dc6f6a6
--- /dev/null
+++ b/.bashrc-python
@@ -0,0 +1,10 @@
+# .bashrc-python
+
+function pep () {
+ rst2html "${HOME}/wrkspc/goss-text/peps/pep-$(printf '%04d' "$1").txt" \
+ | elinks -dump -dump-color-mode 1 \
+ -eval 'set document.colors.text = "darkgreen"' \
+ -eval 'set document.colors.increase_contrast = 0' \
+ -eval 'set document.colors.ensure_contrast = 0' \
+ | less
+}