bashmarks
Directory bookmarking for the shell
TLDR
SYNOPSIS
bashmarks directory bookmarking functions
DESCRIPTION
bashmarks is a bash script that provides directory bookmarking functionality. It allows you to save frequently-used directory paths with short names and jump to them quickly.The tool adds convenient shell functions for managing and navigating to bookmarked directories.
FUNCTIONS
s name
Save current directory as bookmarkg name
Go to bookmarked directoryl
List all bookmarksd name
Delete bookmarkp name
Print bookmark path
FEATURES
- Simple bookmark management- Tab completion for bookmarks- Persistent storage- Integration with bash/zsh
WORKFLOW
cd /var/log/apache2
s apache
# Jump to bookmark
g apache
# List all
l
# Remove
d apache
CAVEATS
Requires sourcing ~/.local/bin/bashmarks.sh in your shell config. Bookmark names must be simple (no spaces or special chars). Bookmarks are stored in ~/.sdirs. Different from z or autojump which rank directories by frequency. Must be installed separately.
HISTORY
bashmarks was created by Huy Nguyen around 2010 to provide simple directory bookmarking for bash users.
