aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-20 18:47:54 +0200
committerMattias Andrée <maandree@operamail.com>2012-07-20 18:47:54 +0200
commit9c859fe68385dfa4dd9b426cd3b790ca31fcfcc3 (patch)
tree2a598b5e1c2de8bf24e7b48d3a1cda068c9b2b13
parent9dd1fbe1754ee592059e3c7f33f7ffd66fbfaad5 (diff)
downloadponysay-9c859fe68385dfa4dd9b426cd3b790ca31fcfcc3.tar.gz
ponysay-9c859fe68385dfa4dd9b426cd3b790ca31fcfcc3.tar.bz2
ponysay-9c859fe68385dfa4dd9b426cd3b790ca31fcfcc3.zip
Revert "Merge pull request #43 from etu/master"
This commit broke bash-completion for ponythink. This reverts commit 9dd1fbe1754ee592059e3c7f33f7ffd66fbfaad5, reversing changes made to 7e5018d58a4cb2f24087e6c3ac8d7b43b3c5066a.
-rw-r--r--Makefile6
-rw-r--r--completion/fish-completion.fish2
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2faf943..c1ed92e 100644
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,9 @@ manpages:
ponythinkcompletion:
- sed -e 's/ponysay/ponythink/' -e 's/\/ponythink\//\/ponysay\//' completion/bash-completion.sh > completion/bash-completion-think.sh
- sed -e 's/ponysay/ponythink/' -e 's/\/ponythink\//\/ponysay\//' completion/fish-completion.fish > completion/fish-completion-think.fish
- sed -e 's/ponysay/ponythink/' -e 's/\/ponythink\//\/ponysay\//' completion/zsh-completion.zsh > completion/zsh-completion-think.zsh
+ sed -e 's/ponysay/ponythink/g' <"completion/bash-completion.sh" | sed -e 's/\/ponythink\//\/ponysay\//g' -e 's/\\\/ponythink\\\//\\\/ponysay\\\//g' >"completion/bash-completion-think.sh"
+ sed -e 's/ponysay/ponythink/g' <"completion/fish-completion.fish" | sed -e 's/\/ponythink\//\/ponysay\//g' -e 's/\\\/ponythink\\\//\\\/ponysay\\\//g' >"completion/fish-completion-think.fish"
+ sed -e 's/ponysay/ponythink/g' <"completion/zsh-completion.zsh" | sed -e 's/\/ponythink\//\/ponysay\//g' -e 's/\\\/ponythink\\\//\\\/ponysay\\\//g' >"completion/zsh-completion-think.zsh"
ttyponies:
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish
index 0023c58..8d3c911 100644
--- a/completion/fish-completion.fish
+++ b/completion/fish-completion.fish
@@ -1,5 +1,5 @@
-# Completions for ponysay
+# Completions for ponysay & ponythink
# https://github.com/erkin/ponysay/
#
# Author: Elis Axelsson <etu AT elis DOT nu>