Skip to content

MosesMuiru/skippy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

# Path to your projects
DIR="/path/to/yourprojects"

for path in "$DIR"/*/; do
  if [ -d "$path" ]; then
    name=$(basename "$path")
    fullpath=$(realpath "$path")

    eval "
    $name() {
      cd \"$fullpath\"
    }
    "
  fi
done

About

I know you are tired of cd to your directory that contains your project. This is a simple script , add it to your bashrc file where you just type the name of the project directory and it will just cd there.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages