|
il y a 1 an | |
---|---|---|
aliases.d | il y a 1 an | |
bashrc.d | il y a 2 ans | |
login.d | il y a 2 ans | |
rc.d | il y a 2 ans | |
zshrc.d | il y a 8 ans | |
LICENSE | il y a 8 ans | |
README.md | il y a 2 ans | |
bash_profile | il y a 2 ans | |
bashrc | il y a 2 ans | |
inputrc | il y a 8 ans | |
zlogin | il y a 2 ans | |
zshrc | il y a 2 ans |
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 (not --login
usage)~/.shellrc/bashrc.d
as an include.d style directory for bashrc scripts (not --login
usage)~/.shellrc/zsh.d
as an include.d style directory for zshrc scripts (not --login
usage)~/.shellrc/login.d
as an include.d style directory for shared zlogin/bash_profile scripts (--login
usage)cd
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