mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
Merge branch 'refactor-bashmarks'
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user