Giter Site home page Giter Site logo

amcamargoc / bashmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huyng/bashmarks

0.0 0.0 0.0 27 KB

Directory bookmarks for the shell

Home Page: https://everyhue.me/posts/bashmarks-directory-bookmarks/

License: BSD 3-Clause "New" or "Revised" License

Makefile 14.59% Shell 85.41%

bashmarks's Introduction

Be organized but still lazy af - Bashmarks version 172.151.92

Based on https://github.com/huyng/bashmarks

Don't do this anymore cd Documents/work/bolis/backend/core. Better: cd_ core

Install

  1. git clone https://github.com/amcamargoc/bashmarks
  2. cd bashmarks
  3. make install
  4. Add source ~/.local/bin/bashmarks.sh from within your ~.bash_profile or ~/.bashrc or ~/.zshrc file

Shell Commands

s_ <bookmark_name>  - Saves the current directory as "bookmark_name"
cd_ <bookmark_name> - Goes (cd) to the directory associated with "bookmark_name"
p_ <bookmark_name>  - Prints the directory associated with "bookmark_name"
rm_ <bookmark_name> - Deletes the bookmark
ls_                 - Lists all available bookmarks

Example Usage

$ cd /var/www/
$ s_ webfolder
$ cd /usr/local/lib/
$ s_ locallib
$ ls_
$ cd_ web<tab>
$ cd_ webfolder

Where Bashmarks are stored

All of your directory bookmarks are saved in a file called ".sdirs" in your HOME directory.

bashmarks's People

Contributors

amcamargoc avatar chadbraunduin avatar daveharris avatar erikw avatar huyng avatar nikreiman avatar sjsrey avatar w9 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.