aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-20 09:35:15 -0700
committerMattias Andrée <maandree@operamail.com>2012-07-20 09:35:15 -0700
commit9dd1fbe1754ee592059e3c7f33f7ffd66fbfaad5 (patch)
tree7d3c3f906adcc7d32149218d086e0bda5f231dd5
parent7e5018d58a4cb2f24087e6c3ac8d7b43b3c5066a (diff)
parentf8a9088bed7fc73d501228dda5c7afb0aaf2d76a (diff)
downloadponysay-9dd1fbe1754ee592059e3c7f33f7ffd66fbfaad5.tar.gz
ponysay-9dd1fbe1754ee592059e3c7f33f7ffd66fbfaad5.tar.bz2
ponysay-9dd1fbe1754ee592059e3c7f33f7ffd66fbfaad5.zip
Merge pull request #43 from etu/master
Made the sed's used to generate ponythink completions simpler
-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 c1ed92e..2faf943 100644
--- a/Makefile
+++ b/Makefile
@@ -11,9 +11,9 @@ manpages:
ponythinkcompletion:
- 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"
+ 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
ttyponies:
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish
index 8d3c911..0023c58 100644
--- a/completion/fish-completion.fish
+++ b/completion/fish-completion.fish
@@ -1,5 +1,5 @@
-# Completions for ponysay & ponythink
+# Completions for ponysay
# https://github.com/erkin/ponysay/
#
# Author: Elis Axelsson <etu AT elis DOT nu>