mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-07-24 05:57:47 +02:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| fishysave.plugin.zsh | ||
| README.md | ||
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