feat(plugin): add plugin to easily save aliases and functions

This commit is contained in:
dliendo 2025-06-24 11:43:01 -03:00
commit b618fbd357
2 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,27 @@
## fishysave
Plugin to save and update functions and aliases directly from shell, reminiscent of the fish "funcsave" feature.
## Install
add fishysave to the plugins array of your zshrc file:
```bash
# ~/.zshrc
plugins=(... fishysave)
```
## Usage
```bash
# Save an alias
alias lsal="ls -al"
fishysave lsal
# Save a function
function lsa() {
ls -al
}
fishysave lsa
```