https://github.com/karshprime/karsh
karsh SHell plugins
https://github.com/karshprime/karsh
Last synced: about 1 year ago
JSON representation
karsh SHell plugins
- Host: GitHub
- URL: https://github.com/karshprime/karsh
- Owner: karshPrime
- License: apache-2.0
- Created: 2025-01-26T04:08:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-02T02:26:52.000Z (over 1 year ago)
- Last Synced: 2025-02-15T12:43:02.604Z (over 1 year ago)
- Language: Shell
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# karsh's SHell
This repository lists the plugins I've written for the [z shell](https://www.zsh.org).
Most of them are dependent opon existing tools like
[`fzf`](https://github.com/junegunn/fzf), [`bat`](https://github.com/sharkdp/bat) (for
`fzf` preview, could be changed with `cat` with no issue though), in addition to core
utils, like `find` and `grep`.
## Plugin Description
### devedit.zsh
Plugin to simplify editing commonly used development files like `.gitignore`, `README`,
and `main` files (`main.*`, `index.*`, `init.*`) by allowing quick access with a single
command. It abstracts away the need to navigate directories or remember file locations,
enabling developers to focus more on coding. Additionally, the vi command integrates fzf
and bat to search for files by extension and open them in the preferred editor.
### devtest.zsh
Plugin facilitates the creation and management of temporary test directories in `/tmp/`.
The `tst` command automatically creates a numbered test directory, such as `/tmp/test1`, and
navigates to it. If a file extension is specified, it uses a
[project_initialization](https://github.com/karshPrime/SysHacks/blob/main/project_initialise.sh)
script to create a language-specific project template in the new directory.
The plugin also includes a `tstrm` command to clean up by deleting all test directories.