mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-03 20:38:25 +08:00
| .. | ||
| 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