Move zsh config to org
This commit is contained in:
parent
e3d8ff0e9a
commit
4a6a1e3629
4 changed files with 21 additions and 0 deletions
2
zsh/.dir-locals.el
Normal file
2
zsh/.dir-locals.el
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
((sh-mode
|
||||||
|
(sh-shell . "zsh")))
|
3
zsh/.gitignore
vendored
3
zsh/.gitignore
vendored
|
@ -1 +1,4 @@
|
||||||
|
*.zwc
|
||||||
|
|
||||||
.profile
|
.profile
|
||||||
|
.zshrc
|
||||||
|
|
16
zsh/zshrc.org
Normal file
16
zsh/zshrc.org
Normal 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
|
Loading…
Reference in a new issue