|
%!s(int64=8) %!d(string=hai) anos | |
---|---|---|
bashrc.d | %!s(int64=8) %!d(string=hai) anos | |
login.d | %!s(int64=8) %!d(string=hai) anos | |
rc.d | %!s(int64=8) %!d(string=hai) anos | |
zshrc.d | %!s(int64=8) %!d(string=hai) anos | |
LICENSE | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=8) %!d(string=hai) anos | |
bash_profile | %!s(int64=8) %!d(string=hai) anos | |
bashrc | %!s(int64=8) %!d(string=hai) anos | |
inputrc | %!s(int64=8) %!d(string=hai) anos | |
zlogin | %!s(int64=8) %!d(string=hai) anos | |
zshrc | %!s(int64=8) %!d(string=hai) anos |
I don't like messy dotfiles. You can read here why.
~/.shellrc/rc.d
as an include.d style directory for scripts used by all shells~/.shellrc/bashrc.d
as an include.d style directory for bashrc scripts~/.shellrc/zsh.d
as an include.d style directory for zshrc scripts~/.shellrc/login.d
as an include.d style directory for shared zlogin/bash_profile scriptscd
git clone git://github.com/chr4/shellrc.git .shellrc
# bash config
ln -sf .shellrc/bashrc .bashrc
ln -sf .shellrc/bash_profile .bash_profile
ln -sf .shellrc/inputrc .inputrc
# zsh config
ln -sf .shellrc/zshrc .zshrc
ln -sf .shellrc/zlogin .zlogin