Giter Site home page Giter Site logo

caveman-dick / go-shell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cameronharp/go-shell

0.0 2.0 0.0 1.83 MB

Allows powershell users to navigate to specific directory paths in a quick and easy way.

License: MIT License

PowerShell 100.00%

go-shell's Introduction

#Go-Shell#

Allows PowerShell users to navigate to a specific directory in a quick and easy way using bookmarks.

###NOTE### The below gif shows the old command-line which was renamed to gd so prevent a clash with the GoLang command. Just swap all the go commands for gd!

image

##Installation##

If you have PsGet installed you can simply execute the following:

######PowerShell 3###### Install-Module Go

######PowerShell 2###### Install-Module Go -AddToProfile

####Manual Install####

  1. Copy Go.psm1 to your modules folder (e.g. $Env:PSModulePath\Go\)
  2. Execute Import-Module Go (or add this command to your profile)
  3. Bookmark away!

####Customization#### Go-Shell stores its data normally in two files located in the ~\AppData\Local\Go\-folder.

This is changeable by setting this in your profile:

$Global:GoDataDirectory = "$([Environment]::GetFolderPath('LocalApplicationData'))\Go\"
$Global:GoRememberFileName = "go-shell-remember-last.txt"
$Global:GoBookmarkFileName = "go-shell.txt"

The values above are the defaults.

##How to Use Go##

Usage:
    gd label
    gd label -delete or -d
    gd label -show or -s
    gd label -add or -a
    gd label C:\SomePath -add or -a
    gd -showAll or -sa
    gd -clear or -c
    gd -last or -l

Switches:
    -add or -a             Adds the current directory.
    -delete or -d          Remove the given key from the directory.
    -showAll or -sa        Show all the keys and values in the directory.
    -show or -s            Show the specific key and value.
    -clear or -c           Clears all the keys and values in the directory.
    -last or -l            Goes to the last used go key.
    -help or -h            Displays this screen.

Tips:
    - Pressing the tab button after a few letters will auto fill the rest of the bookmark keyword.

go-shell's People

Contributors

cameronharp avatar caveman-dick avatar matthewkimber 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.