Created
March 15, 2017 01:08
-
-
Save metaskills/c1fa78187fb06359cac4375f2285d5ca to your computer and use it in GitHub Desktop.
Critical VCS ZSH Kit Tools - https://dev.to/thiht/shell-scripts-matter
This file contains hidden or 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
# Always make it easy to edit all the script. | |
$ which profile | |
profile: aliased to subl ~/.zshkit ~/.zshkit/01_path | |
# Always make it easy to version control my ZSH kit. | |
# Ex: `profile-save "New Docker Functions"` | |
$ which profile-save | |
profile-save () { | |
pushd ~/.zshkit/ | |
git add . | |
git commit -a -m "Autosave: $1" | |
popd | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment