Code Monkey home page Code Monkey logo

memento's Introduction

Memento

Makes it easier to navigate the terminal with 'tagged locations, manages all your scripts and aliases.

Installation

Run Configuration

chmod +x setup.sh && ./setup.sh

Note: 'setup.sh' will create and move the neccesary files for the program to function. (it initialises itself as a script its managing)

Usage

demo mode

If you want to test Memento first, run the script like so:

  • Test in interactive mode with: ./setup.sh -ia --demo --skipinstall
  • Test a command: ./setup.sh --demo --skipinstall use -h|--help to see the available commands.

Commands

Interactive mode

interactive mode

Start an interactive Memento session, with easy access to all scripts, tags, aliases.

mto -ia

List all tags, aliases, scripts

this will print an overview of all items managed within memento to stdout.

mto -ls

Help text

mto -h

Tags

Tags are callable aliases that move the user to the tagged directory, (no need to remember what lives where in your system)

Create a tag of the current directory

mto -t #will create 't1' (t++), as a callable alias

Labelled tag

mto -t project1 #will create 'project1' , as a callable alias

moving to the directory with tagnumber or custom label

t1
project1

Remove all tags

mto -rta

Scripts

Move script to scripts directory (can be changed in setup), put it in your shells .rc file, and make it excecutable

mto -s scriptfile.sh scriptname

Edit script

mto -es scriptfile

Note: if you want to change some functionality within memento itself, you can use this memento edit it;

mto -es mto_memento.sh

Remove script

mto -rs scriptfile

Aliases

Create alias

mto -a aliasname 'alias command'

Remove Alias

mto -ra aliasname

Remove all alisases

mto -rma

Uninstall

Remove Memento

mto -rmto

memento's People

Contributors

remcoeijsackers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jessiemilan

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.