mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-06 00:33:40 +00:00
tab completion instructions for bash and zsh (#11)
* instructions how to add completion. * argument completion won't come until click 7.0 * version bump. * drop 3.4 support. * remove python 3.7 * new gif. * new gif and use limit not count.
This commit is contained in:
47
README.md
47
README.md
@@ -14,35 +14,32 @@ pip install rfd
|
||||
|
||||
## Usage
|
||||
|
||||

|
||||
|
||||
```bash
|
||||
rfd threads <topic-id> [--count 10]
|
||||
rfd threads <topic-id> [--limit 10]
|
||||
```
|
||||
|
||||
### Display first 5 threads from hot deals
|
||||
|
||||

|
||||
|
||||
### tail a post:
|
||||
### tail a post
|
||||
|
||||
```bash
|
||||
▶ rfd posts https://forums.redflagdeals.com/koodo-targeted-public-mobile-12-120-koodo-6gb-40-no-referrals-2176935/ --tail 4
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
- [0] For those worried about credit ratings, according to Boworell, my credit score rose by 44 points since last month. I did absolutely nothing except open 3 Koodo lines all with medium tabs and I paid off 1 in full the very next day (Shaner)
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
- [0] If we want to keep our PM plan but use the code to set up a spouse on the plan is that still okay?
|
||||
I've read that the port can only be used once now, but does it matter which phone number is ported in? (kid_icarus)
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
- [0] blackboxvr6 wrote: ↑Mar 12th, 2018 2:13 pm
|
||||
Legit 1st line on Wednesday, no shipping email yet...
|
||||
|
||||
|
||||
Tuesday before noon and still waiting. (gardener28)
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
- [0] Ordered a SIM last Wednesday, haven't heard a peep from Koodo since the initial order confirmation e-mail. (DaJinx)
|
||||
|
||||
--------------------------------------------------------------------------
|
||||
```
|
||||
|
||||
## Tab Completion
|
||||
|
||||
### bash
|
||||
|
||||
```bash
|
||||
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 "$(_FOO_BAR_COMPLETE=source foo-bar)"' >> ~/.zshrc
|
||||
```
|
||||
|
Reference in New Issue
Block a user