Skip to content

Repository files navigation

Just my own shell config.

Setup / upgrade

# 1. Clone or update the repo.
mkdir -p ~/src
[ -d~/src/bashrc ] && git -C ~/src/bashrc pull || git clone https://github.com/fotinakis/bashrc.git ~/src/bashrc
# 2. Point every shell startup file at it, skipping any that already are.
LINE='source ~/src/bashrc/init.sh'forfin~/.bashrc ~/.bash_profile ~/.zshrc;do
touch "$f"
grep -qxF "$LINE""$f"||printf'\n%s\n'"$LINE">>"$f"done

Then exec $SHELL (or open a new terminal).

About

Just my own .bashrc

Resources

Stars

50 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages