暂无描述

Jeremy MAURO e238c3d704 feat(lib): Add a core library 2 年之前
bashrc.d 386c3c41e0 feat(Personal): Add personal files 2 年之前
login.d e238c3d704 feat(lib): Add a core library 2 年之前
rc.d e238c3d704 feat(lib): Add a core library 2 年之前
zshrc.d 5413b7bb08 Initial 8 年之前
LICENSE 5413b7bb08 Initial 8 年之前
README.md 431a50f68b Doc(README): Clarify the 'rc.d' vs 'login.d' usage 2 年之前
bash_profile 8b6e2ef602 feat(SHELLRC_HOME): Add the possibility to change shellrc home 2 年之前
bashrc e238c3d704 feat(lib): Add a core library 2 年之前
inputrc 5413b7bb08 Initial 8 年之前
zlogin 8b6e2ef602 feat(SHELLRC_HOME): Add the possibility to change shellrc home 2 年之前
zshrc 8b6e2ef602 feat(SHELLRC_HOME): Add the possibility to change shellrc home 2 年之前

README.md

Shell dotfiles, conf.d stype, for multiple shells

I don't like messy dotfiles. You can read here why.

Features

  • ~/.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)
  • git repository information (current branch, current status) without external dependencies
  • colorful prompt
  • shared history for all shells

Installation

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