Giter Site home page Giter Site logo

powerjump's Introduction

PowerJump

PowerJump is a simple module to help with navigating your filesystem in PowerShell, inspired by Jeroen Janssens' blog post which provides details on obtaining the same functionality in zsh and bash.

Installation

In order to install, simply clone the repository into a directory listed as part of the PSModulePath environment variable, and then import the module in your profile. For example, to install as your user,

> cd "C:\Users\$env:username\Documents\WindowsPowerShell\Modules\"
> git clone https://github.com/thomdixon/PowerJump.git

then add

import-module powerjump

to your PowerShell profile. If you're unfamiliar with PowerShell profiles, check out:

> help about_profile

How It Works

A thomdixon\PowerJump folder is created in the current user's AppData directory. Shortcuts are stored here when marked, and their targets are resolved upon jump. That's all there is to it.

Usage

Usage is fairly straightforward.

PS C:\Users\thom> mark home
PS C:\Users\thom> cd Documents\Foo
PS C:\Users\thom\Documents\Foo> jump home
PS C:\Users\thom> marks

Mark                                                     Target
----                                                     ------
home                                                     C:\Users\thom

PS C:\Users\thom>unmark home
Confirm
Are you sure you want to perform this action?
Performing operation "Remove File" on Target "C:\Users\thom\AppData\Roaming\thomdixon\PowerJump\home.lnk".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): N
PS C:\Users\thom>

powerjump's People

Contributors

thomdixon avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.