mmshooreshi / izipizi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“‚ dir-bookmarks

  _______________________________________      ______________________________________
 /                                      /|    /                                     /|
/______________________________________/ |   /_____________________________________/ |
|                                     |  |   |                                    |  |
|           Bookmark[d]s              |  |   |               Notes                |  |
|=====================================|  |   |====================================|  |
| Add Bookmark[d]                     |  |   | Add Note to Bookmark[d]            |  |
| Command: bm <name>                  |  |   | Command: bn <name> <note>          |  |
| Example: bm myproj                  |  |   | Example: bn myproj "My note"       |  |
|-------------------------------------|  |   |------------------------------------|  |
| Go to Bookmark[d]                   |  |   | List Notes                         |  |
| Command: g <name>                   |  |   | Command: ln                        |  |
| Example: g myproj                   |  |   | Example: ln                        |  |
|-------------------------------------|  |   |------------------------------------| / 
| List Bookmarks                      |  |   |____________________________________|/  
| Command: bl                         |  |
| Example: bl                         | /
|_____________________________________|/

πŸš€ Installation

Run the following command to install the script:

curl -sSL https://raw.githubusercontent.com/mmshooreshi/izipizi/main/install.sh | bash

πŸ“– Usage

  • Bookmark[d] the current directory with a memorable alias:

    bm proj
  • Navigate to a bookmarke:D directory:

    g proj
  • List all bookmark[d]s with their paths and notes:

    bl
  • Add a note to a bookmark[d]:

    bn proj "Main project directory"
  • List all notes:

    ln

πŸ“‚ Example Scenarios

  1. Bookmark[d] the current project directory:

    bm proj
  2. Add a note to this bookmark[d]:

    bn proj "Main project directory"
  3. Bookmark[d] the downloads directory:

    bm dl
  4. Add a note to the downloads bookmark[d]:

    bn dl "Downloads folder"
  5. List all bookmark[d]s:

    bl

    Output:

    proj: /path/to/project
      Note: proj: Main project directory
    dl: /path/to/downloads
      Note: dl: Downloads folder
    
  6. Navigate to the project directory:

    g proj
  7. List all notes:

    ln

    Output:

    proj: Main project directory
    dl: Downloads folder
    

πŸ›  Troubleshooting

  • If you encounter issues, ensure that your shell configuration file (.bashrc or .zshrc) has been updated to source the bookmarkd.sh script.
  • Restart your terminal or run source ~/.bashrc or source ~/.zshrc to apply changes.

Happy bookmark[d]ing! πŸ“βœ¨

About


Languages

Language:Shell 100.0%