Giter Club home page Giter Club logo

teleport's Introduction

Teleport

This script will help you to add an Alias for every directory in your Shell. Currently it just supports Linux ( Debian Based Distributions ).

With Teleport you can set a name for each directory you want and easily access that through shell, you can set name for nested folders and access them by entering a simple word

How to use

  1. In order not to break your current profile, the script creates a new file named: .bash_aliases in you home directory, you need to add below lines at the end of you .bashrc file in /home/username/.bashrc ( username should be edited to yours )
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi
  1. Place built package (teleport) in /usr/local/bin or in /usr/bin/ you also can make a shortcut with ln -s to make it easier :

     ln -s <path to teleport built file> /usr/local/bin/sv
    

    which sv will be a short name for teleport

  2. Head to each directory you intend to and run sv alias which sv is the name of teleport built app you previously made a shortcut of and alias is the name you want to assign to that direction.

  3. From now on you can jump to the directory easily by write your alias name.

Arguments

With arguments you can use differentfeatures of teleport. currently Teleport supports below arguments:

  • cat - prints current aliases. like: teleport cat

  • (empty) - if you leave the argument empty, it prints your current location. like teleport

  • (location name) - when you head to a location that you want to save, you simply use teleport and location alias as argument. like: teleport mycode

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.