Merge pull request #43 from etu/master

Made the sed's used to generate ponythink completions simpler
This commit is contained in:
Mattias Andrée 2012-07-20 09:35:15 -07:00
commit 9dd1fbe175
2 changed files with 4 additions and 4 deletions

View file

@ -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:

View file

@ -1,5 +1,5 @@
# Completions for ponysay & ponythink
# Completions for ponysay
# https://github.com/erkin/ponysay/
#
# Author: Elis Axelsson <etu AT elis DOT nu>