Created
May 26, 2020 18:54
-
-
Save era/ffb2210760135f69a6651c0f0a789959 to your computer and use it in GitHub Desktop.
Functions to save new shell functions into my dotfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
save_alias () { | |
echo $1 >> ~/.functions/aliases.sh | |
reload | |
} | |
reload () { | |
source ~/.zshrc | |
} | |
save_fun () { | |
which $1 >> ~/.functions/dev.sh | |
reload | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment