Skip to content

414owen/local-shellrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

local-shellrc

Source shell configs local to a directory.

The main script should be POSIX compliant, so if you hook it up to a shell other than zsh, feel free to contribute :)

Installation

Add this line

Manual

git clone https://github.com/414owen/local-shellrc.git
echo ". $PWD/local-shellrc/source-local-shellrc.zsh" >> ~/.zshrc

Usage

Your shell will load the closest .local.sh file (and .zshrc file in zsh) that's a direct child of a parent directory of $PWD.

About

Minimal script to source local shell configs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages