aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/zshrc.org
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc.org')
-rw-r--r--zsh/zshrc.org16
1 files changed, 16 insertions, 0 deletions
diff --git a/zsh/zshrc.org b/zsh/zshrc.org
new file mode 100644
index 0000000..54e9730
--- /dev/null
+++ b/zsh/zshrc.org
@@ -0,0 +1,16 @@
+#+TITLE: ZSH
+
+Autoload any ZSH function from =$HOME/.zsh/functions=.
+
+#+BEGIN_SRC sh
+ fpath=($HOME/.zsh/functions $fpath)
+ autoload -U $HOME/.zsh/functions/*(:t)
+#+END_SRC
+
+Use rlwrap on some less-than-pleasant REPLs that don't have GNU
+Readline-like features themselves.
+
+#+BEGIN_SRC sh
+ alias csi="rlwrap csi"
+ alias scsh="rlwrap scsh"
+#+END_SRC