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.
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
This script requires Powershell to be installed on your system.
You can either clone the project, or simply download the warp.ps1
file.
- 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