https://github.com/mehalter/zsh-pins
ohmyzsh plugin for pinning directories. Like a CLI folder bookmark manager
https://github.com/mehalter/zsh-pins
Last synced: 4 months ago
JSON representation
ohmyzsh plugin for pinning directories. Like a CLI folder bookmark manager
- Host: GitHub
- URL: https://github.com/mehalter/zsh-pins
- Owner: mehalter
- License: gpl-2.0
- Created: 2022-03-03T17:34:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T15:08:08.000Z (over 2 years ago)
- Last Synced: 2025-07-19T11:08:39.921Z (4 months ago)
- Language: Shell
- Size: 90.8 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - pins - ZSH plugin for pinning directories. Like a CLI folder bookmark manager with tab completions. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - pins - ZSH plugin for pinning directories. Like a CLI folder bookmark manager with tab completions. (Plugins / ZSH on Windows)
README
# zsh-pins
ZSH plugin for pinning directories. Like a CLI folder bookmark manager (with tab completion!)
## Usage
| Command | Description |
| ----------- | ------------------------------------------------ |
| `pl` | list all pins |
| `pg ` | go to pin and list contents |
| `pa ` | add pin to current directory with name |
| `pd ` | delete pin with name |
| `pe ` | edit pin with name to point to current directory |
## Demo

### Tab Completion

## Installation
* [Antigen](#antigen)
* [Oh My Zsh](#oh-my-zsh)
* [Manual](#manual-git-clone)
### Antigen
1. Add the following to your `.zshrc`:
```sh
antigen bundle mehalter/zsh-pins
```
2. Start a new terminal session.
### Oh My Zsh
1. Clone this repository into `$ZSH_CUSTOM/plugins` (by default `~/.oh-my-zsh/custom/plugins`)
```sh
git clone https://github.com/mehalter/zsh-pins ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-pins
```
2. Add the plugin to the list of plugins for Oh My Zsh to load (inside `~/.zshrc`):
```sh
plugins=(
# other plugins...
zsh-pins
)
```
3. Start a new terminal session.
### Manual (Git Clone)
1. Clone this repository somewhere on your machine. This guide will assume `~/.zsh/zsh-autosuggestions`.
```sh
git clone https://github.com/mehalter/zsh-pins ~/.zsh/zsh-pins
```
2. Add the following to your `.zshrc`:
```sh
source ~/.zsh/zsh-pins/zsh-pins.plugin.zsh
fpath+= ~/.zsh/zsh-pins
```
3. Start a new terminal session.