cookbook 'magic_shell', '= 0.1.4'
magic_shell (11) Versions 0.1.4 Follow28
Installs/Configures command_alias
cookbook 'magic_shell', '= 0.1.4', :supermarket
knife supermarket install magic_shell
knife supermarket download magic_shell
magic_shell Cookbook
Provides utility for adding some syntactic sugar to your shell.
Requirements
None
Attributes
None
Usage
Include the recipe to use the resource in your cookbook.
include_recipe 'magic_shell'
Use the magic_shell_alias
resource to create a command alias.
magic_shell_alias 'myrailsapp' do command 'cd /opt/myrailsapp/current' end
You can also remove aliases:
magic_shell_alias 'myrailsapp' do action :remove end
This will alias myrailsapp
to cd /opt/myrailsapp/current
.
Contributing
- Fork the repo
- Create a feature branch
- Code, document, write specs, test
- Submit a PR
License and Authors
Author: Nathen Harvey (@nathenharvey)
Copyright 2012, CustomInk, LLC
Dependent cookbooks
This cookbook has no specified dependencies.