1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-11 22:07:48 +08:00
ohmyzsh-mirror/plugins/fishysave/README.md

28 lines
381 B
Markdown

## 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
```