From a1b7b828aed52800d927a01a18abcf0750de561e Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 28 Oct 2018 22:10:18 -0400 Subject: [PATCH] add instructions for zsh (#15) * add zsh tab completion to docs. * new demo gif. --- README.md | 15 +++------------ rfd/__version__.py | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 97c2873..f4edf0e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ Hot deals on the command line. [![Build Status](https://travis-ci.org/davegallant/rfd.svg?branch=master)](https://travis-ci.org/davegallant/rfd) - [![PyPI version](https://badge.fury.io/py/rfd.svg)](https://badge.fury.io/py/rfd) ## Installation @@ -14,18 +13,13 @@ pip install rfd ## Usage -![rfd_peek](https://user-images.githubusercontent.com/4519234/42729852-d43a7768-87b3-11e8-81f2-36cb81bf4b58.gif) +![rfd_demo_gif](https://user-images.githubusercontent.com/4519234/47625817-d3375500-dafd-11e8-9d86-491d4a4fb225.gif) + ```bash rfd threads [--limit 10] ``` -### tail a post - -```bash -▶ rfd posts https://forums.redflagdeals.com/koodo-targeted-public-mobile-12-120-koodo-6gb-40-no-referrals-2176935/ --tail 4 -``` - ## Tab Completion ### bash @@ -36,10 +30,7 @@ echo 'eval "$(_RFD_COMPLETE=source rfd)"' >> ~/.profile ### zsh -There isn't native support for zsh but zsh's bash completion compatibility mode works: ```zsh -echo 'autoload bashcompinit -bashcompinit -eval "$(_RFD_COMPLETE=source rfd)"' >> ~/.zshrc +echo 'eval "$(_RFD_COMPLETE=source_zsh rfd)"' >> ~/.zshrc ``` diff --git a/rfd/__version__.py b/rfd/__version__.py index 2a34b53..98d000f 100644 --- a/rfd/__version__.py +++ b/rfd/__version__.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -version = '0.1.7' +version = '0.1.8'