Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zsh completion #59

Merged
merged 7 commits into from Dec 21, 2012
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -242,6 +242,13 @@ used by `t`:
![Timeline](https://github.com/sferik/t/raw/master/screenshots/timeline.png)
![List](https://github.com/sferik/t/raw/master/screenshots/list.png)

## Shell completion
If you're running [Zsh][zsh], you can source the [bundled completion file][completion]
to get shell completion for `t` commands, subcommands, and flags.

Don't run Zsh? Why not [contribute][contribute] completion support for your favorite
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little Markdown protip: if the linked text is the same as the reference text, you can just say [contribute][].

shell?

## History
The [twitter gem][gem] previously contained a command-line interface, up until
version 0.5.0, when it was [removed][]. This project is offered as a sucessor
Expand Down Expand Up @@ -278,3 +285,6 @@ Copyright (c) 2011 Erik Michaels-Ober. See [LICENSE][] for details.
Application icon by [@nvk][nvk].
[license]: https://github.com/sferik/t/blob/master/LICENSE.md
[nvk]: http://rodolfonovak.com
[zsh]: http://zsh.org
[completion]: https://github.com/sferik/t/tree/etc/t-completion.zsh
[contribute]: https://github.com/sferik/t/blob/master/CONTRIBUTING.md
2 changes: 2 additions & 0 deletions Rakefile
Expand Up @@ -4,5 +4,7 @@ Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

import 'tasks/zsh.rake'

task :test => :spec
task :default => :spec