Merge branch 'refactor-bashmarks'

This commit is contained in:
Koichi Murase
2024-02-21 19:56:02 +09:00

View File

@ -43,25 +43,14 @@ $ bm -l
the information of bookmarks of directory names. The default path is the information of bookmarks of directory names. The default path is
`~/.sdirs`. The old interface `SDIRS` is now deprecated. `~/.sdirs`. The old interface `SDIRS` is now deprecated.
## Configuration
- `BASHMARKS_SDIR`: This variable contains the path to the file that stores the
information of bookmarks of directory names. The default path is `~/.sdirs`.
The old interface `SDIRS` is now deprecated.
## Commands ## Commands
**bm -h** Print short help text - **`bm -h`**: Print short help text
- **`bm -a bookmarkname`**: Save the current directory as bookmarkname
**bm -a bookmarkname** Save the current directory as bookmarkname - **`bm [-g] bookmarkname`**: Go to the specified bookmark
- **`bm -p bookmarkname`**: Print the bookmark
**bm [-g] bookmarkname** Go to the specified bookmark - **`bm -d bookmarkname`**: Delete a bookmark
- **`bm -l`**: List all bookmarks
**bm -p bookmarkname** Print the bookmark
**bm -d bookmarkname** Delete a bookmark
**bm -l** List all bookmarks
## Valid bookmark names ## Valid bookmark names