|
hai 1 ano | |
---|---|---|
aliases.d | hai 1 ano | |
bashrc.d | %!s(int64=2) %!d(string=hai) anos | |
login.d | %!s(int64=2) %!d(string=hai) anos | |
rc.d | %!s(int64=2) %!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=2) %!d(string=hai) anos | |
bash_profile | %!s(int64=2) %!d(string=hai) anos | |
bashrc | %!s(int64=2) %!d(string=hai) anos | |
inputrc | %!s(int64=8) %!d(string=hai) anos | |
zlogin | %!s(int64=2) %!d(string=hai) anos | |
zshrc | %!s(int64=2) %!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 (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