Skip to content

check if current dir is part of a project and update PS1 accordingly

License

Notifications You must be signed in to change notification settings

Gankarloo/isindir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

is_indir

is a way to know if current working directory is in a project folder much like 'git rev-parse --is-inside-work-tree' by searching for a predefined file. The contents of that file is used to populate PS1

Install

Source isindir.sh in your .bashrc

TODO

manipulate the PATH automatically

About

check if current dir is part of a project and update PS1 accordingly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages