Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.28 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.28 KB

✨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