Giter Club home page Giter Club logo

ubahn's Introduction

ubahn

It is a (node.js) command line utility that helps you going everywhere in your computer using a terminal. It is based on teleport, a Haskell package that accomplishes the same task.

Installation

First, you need to install the Node.js plugins:

npm install --global ubahn

Then, to make the command executable, you need to add this to your .bashrc or .bash_profile or whatever you use:

function ubahn() {
  OUTPUT=`ubahn-wrapper $@`
  if [ $? -eq 42 ]
  then cd "$OUTPUT"
  else echo "$OUTPUT"
  fi
}

API

List Directories

To list all directories that were saved to ubahn, run this command:

ubahn list

To Directory

To change the current directory to one saved in ubahn, run this command:

ubahn to <shortname>

Add Directory

To add a new directory, run this command:

ubahn add <shortname> [directory path]

The short name cannot contain spaces. The directory path may be omitted. That will make the current directory to be added to ubahn.

Remove Directory

To remove a directory, run this command:

ubahn rm <shortname>

Remove all Directories

To remove all saved directories, run this command:

ubahn clear

ubahn's People

Contributors

lucaskalves avatar

Stargazers

Rigotti avatar

Watchers

 avatar James Cloos 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.