|
1 éve | |
---|---|---|
aliases.d | 1 éve | |
bashrc.d | 2 éve | |
login.d | 2 éve | |
rc.d | 2 éve | |
zshrc.d | 8 éve | |
LICENSE | 8 éve | |
README.md | 2 éve | |
bash_profile | 2 éve | |
bashrc | 2 éve | |
inputrc | 8 éve | |
zlogin | 2 éve | |
zshrc | 2 éve |
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