Passing Parameters to an Alias
Nathan Roberts posted an insightful comment which inspired me to explore passing parameters to an alias.
We will create a function which deploys an Octopress site with custom commit messages.
1
|
|
This function should be defined in your .zshrc
or .bashrc
file.
1
|
|
pusho
now deploys our ocotopress site with a custom commit message.
Notes
Instructions for git add-commit
Collection of resources on getting started with Zsh
Open a new tab or restart your terminal for the function to take effect