https://github.com/soup-ms/zshcp
A zsh clipboard manager plugin.
https://github.com/soup-ms/zshcp
oh-my-zsh zsh zsh-plugin
Last synced: 3 months ago
JSON representation
A zsh clipboard manager plugin.
- Host: GitHub
- URL: https://github.com/soup-ms/zshcp
- Owner: soup-ms
- License: mit
- Created: 2025-01-31T17:44:47.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-04T00:04:56.000Z (3 months ago)
- Last Synced: 2025-03-07T02:22:55.043Z (3 months ago)
- Topics: oh-my-zsh, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zshcp: Zsh Clipboard Manager Plugin
A lightweight and intuitive clipboard management plugin for Zsh that enhances your command-line workflow with easy copy-paste operations.
## Features
- Copy current command line to clipboard
- Copy file contents directly to clipboard
- Create/overwrite files with clipboard contents
- Copy entire folder paths
- Copy current working directory path
- Access command history in clipboard
- Keyboard shortcuts for quick operations## Prerequisites
- Oh My Zsh
## Installation
1. Clone this repository into your Oh My Zsh custom plugins directory:
```bash
git clone https://github.com/michaelsousajr/zshcp ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zshcp
```2. Add the plugin to your `.zshrc`:
```bash
plugins=(... zshcp)
```3. Reload your shell:
```bash
source ~/.zshrc
```***
## Usage
Use the
```bash
cphelp
```command in the terminal.
## Contributing
1. Fork the repository.
2. Create your feature branch:```bash
git checkout -b feature/amazing-feature
```3. Commit your changes:
```bash
git commit -m 'Add amazing feature'
```4. Push to the branch:
```bash
git push origin feature/amazing-feature
```5. Open a Pull Request.