From d95e6b945b706db0b149b8af580f6cd8484e527b Mon Sep 17 00:00:00 2001 From: Nathan Jaremko Date: Sun, 24 Feb 2019 19:09:44 -0500 Subject: Add completion info to README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1928ea8..0915094 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ All: `podcast download $podcast_name` You can also use a portion of the name. Podcast will pick the first podcast alphabetically that contains the given word (Case-Insensitive). -Example Usage: +# Example Usage: ```sh $ podcast subscribe "http://feeds.feedburner.com/mbmbam" $ podcast ls @@ -60,3 +60,14 @@ Downloading: /home/njaremko/Podcasts/My Brother, My Brother And Me/MBMBaM 244: S Downloading: /home/njaremko/Podcasts/My Brother, My Brother And Me/MBMBaM 144: Kick it Forward.mp3 Downloading: /home/njaremko/Podcasts/My Brother, My Brother And Me/My Brother, My Brother and Me 44: Chunk Pump.mp3 ``` + +# Generating completions: +```sh +# Generating completion for current shell: +$ podcast completion +... outputs stuff that needs to be loaded by your shell on startup ... + +# Fish Shell Example +$ podcast completion fish > podcast.fish +$ sudo mv podcast.fish /usr/share/fish/completions +``` \ No newline at end of file -- cgit v1.2.3