1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-10 21:58:06 +08:00
ohmyzsh-mirror/plugins/fishysave/README.md

381 B

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:

# ~/.zshrc
plugins=(... fishysave)

Usage

# Save an alias
alias lsal="ls -al"
fishysave lsal

# Save a function
function lsa() {
    ls -al
}
fishysave lsa