Skip to content

jorgecarpio/which

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a ruby script written to emulate the UNIX command which.

For use on Windows (since it doesn't have this command by default)

which - shows the full path of commands

OPTIONS
first parameter: command to search without extension (i.e. "which ruby")
- .exe suffix is automatically added if omitted

second parameter (optional): -deep (i.e. "which irb -deep")
- used if extension unknown and not found using regular search
- will cycle through all executable command using PATHEXT variable.
- no need to add (or guess) extension for commands to search for

NOTES
if command is in multiple locations all will be returned


About

unix utility which written in ruby for the windows platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages