Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created March 15, 2017 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaskills/c1fa78187fb06359cac4375f2285d5ca to your computer and use it in GitHub Desktop.
Save metaskills/c1fa78187fb06359cac4375f2285d5ca to your computer and use it in GitHub Desktop.
Critical VCS ZSH Kit Tools - https://dev.to/thiht/shell-scripts-matter
# 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