Skip to content

korny/ndee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. gem install ndee
  2. Add function ndee { `ruby -S ndee $1`; } to your .bashrc. This is necessary because the ruby child process cannot change the working directory of the parent shell.
  3. Restart the shell.

Usage

You can now cd into any of your Apache configured domains using ndee:

> ndee mypage.com
> pwd
/var/www/mypage.com/public

> ndee blog.mypage.com
> pwd
/var/www/mypage.com/blog/some/folder/new/current/public/

Name

Ndee is how the Western Apache bands call themselves. Sounds related to cd, doesn't it?

Acknowledgements

Using glebm's fork of apache_config to handle Config file parsing.

About

reads Apache confs and cds into the DocumentRoot of the given domain

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages