Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

antroy/bashmarks

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bashmarks

This is a bookmarking tool for bash built on the pushd/popd commands. It provides the following commands with tab completion:

  • mark <alias> - Bookmark the current directory with the given alias.
  • mark - Bookmark the current directory with alias equal to the directory name.
  • go <alias> - Go to the directory with the provided alias. Autocompletes on tab. Implemented using pushd to facilitate easy back functionality.
  • marks - Display all bookmarks.
  • delmark <alias> - Delete alias. Autocompletes.
  • delmark - Delete alias for this directory.
  • po - alias for popd
  • pd - alias for pushd

Note - the bookmarks are stored in a simple text file ~/.bookmarks and can be edited if desired.

Installation

Save bashmarks.sh somewhere like your home directory. Source in your .bashrc:

source bashmarks

About

Bash Bookmarks

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.