An open API service indexing awesome lists of open source software.

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.

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.