Skip to content

iremkurek/bashrc

Repository files navigation

Your ~/.(bashrc|zprofile|profile) doesn't have to be a mess

Clone this repo to ~/.config/bashrcand add this snippet to your ~/.(bashrc|zprofile|profile) file:

for file in ~/.config/bashrc/*.sh; do
  [[ -r $file ]] && . $file
done
unset file

In short, it iterates through every script with a .sh extension on ~/.config/bashrc. If it is readable, then it is sourced as well.

About

Your `~/.(bashrc|profile)` doesn't have to be a mess

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages