Move zsh config to org

This commit is contained in:
Tom Willemse 2016-10-19 22:52:25 +02:00
parent e3d8ff0e9a
commit 4a6a1e3629
4 changed files with 21 additions and 0 deletions

2
zsh/.dir-locals.el Normal file
View file

@ -0,0 +1,2 @@
((sh-mode
(sh-shell . "zsh")))

3
zsh/.gitignore vendored
View file

@ -1 +1,4 @@
*.zwc
.profile .profile
.zshrc

View file

16
zsh/zshrc.org Normal file
View file

@ -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