https://github.com/cassin01/path-marker
A CLI for book marking paths
https://github.com/cassin01/path-marker
cli rust
Last synced: 5 months ago
JSON representation
A CLI for book marking paths
- Host: GitHub
- URL: https://github.com/cassin01/path-marker
- Owner: Cassin01
- Created: 2022-09-19T09:26:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-23T07:55:19.000Z (over 1 year ago)
- Last Synced: 2025-04-13T16:48:05.901Z (over 1 year ago)
- Topics: cli, rust
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# path-marker
## Installation
```sh
cargo install path-maker
```
Uninstall
1. uninstall `path-marker`
```zsh
cargo uninstall path-marker
```
2. remove configuration file will be automatically generated on:
- Linux: `~/.config/rcz`
- Windows: `{FOLDERID_RoamingAppData}\rcz`
- Mac OS: `~/Library/Preferences/rs.rcz`
3. remove `~/.cache/path_marker/hist.txt`
## Usage
```sh
path-marker -- mark # marks current path
path-marker -- show # shows all paths that were marked
path-marker -- conf # shows a configuration info.
```
## Example
```zsh
# Changing directory using fuzzy find.
function cdm {
cd `path-marker -- show | peco`
}
alias mp='path-marker -- mark'
# alias ms='path-marker -- show'
```