A lightweight and intuitive clipboard management plugin for Zsh that enhances your command-line workflow with easy copy-paste operations.
- 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
- Oh My Zsh
-
Clone this repository into your Oh My Zsh custom plugins directory:
git clone https://github.com/michaelsousajr/zshcp ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zshcp
-
Add the plugin to your
.zshrc
:plugins=(... zshcp)
-
Reload your shell:
source ~/.zshrc
Use the
cphelp
command in the terminal.
-
Fork the repository.
-
Create your feature branch:
git checkout -b feature/amazing-feature
-
Commit your changes:
git commit -m 'Add amazing feature'
-
Push to the branch:
git push origin feature/amazing-feature
-
Open a Pull Request.