Powershell implementation of Mark & Jump
Inspired by the work of Jeroen Janssens
Four functions: Mark, Jump, Unmark and Marks.
With mark
you specify a friendly name for the current location. Then with Jump {name}
you go back to it. Use marks
to list all the names and locations you've marked. And with unmark {name}
you can remove one from the list.
It includes aliases m
for mark
, j
for jump
, and um
for unmark
.
You might want to comment those out if they collide with other aliases you use.
alias: m
usage:
mark [name]
mark a location with a name, allowing you to get back there easily.
alias: j
usage:
jump [name]
set-location to the location that was previously marked with that name.
usage:
marks
list all of the marks that have been set
alias: um
usage:
unmark [name]
remove a mark from the list of marks
- Download
markjump.ps1
- Add this to your
$profile
: ". .\markjump.ps1
"