Skip to content

MBausson/Warp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

✨Warp

This short powershell script addresses a recurring issue I face when programming : slow navigation through directories, especially through frequently accessed directories.

Warp lets you assign a name to a directory in your file system, and navigate directly to a directory via its name.

Examples

Create a warp

/path/to/my/project $ warp set myProject
# ✨ Added warp 'myProject' here.

Navigate to a warp

/another/location $ warp to myProject
# ✨ Warped to myProject.
# Now, the current working directory is /path/to/my/project

List all registered warps

$ warp list
# 📖 Registered warps
# 
# 'myProject' ➡️ /path/to/my/project
# 
# Total: 1 warps.

Remove a warp

$ warp remove myProject
# ✅ Removed warp

Installation

This script requires Powershell to be installed on your system.
You can either clone the project, or simply download the warp.ps1 file.

⚠️ Don't forget to add the the script to your PATH variable.

Future improvements

  • Remove the necessity of the to keyword when navigating to a warp. This syntax should become possible: warp myProject
  • Implementation in bash. For now, warp requires Powershell to be installed on your system.
  • Unit testing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published