From 5f672bb9f76f0c37563202cfd9ed9755633a7050 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Jul 2012 18:26:19 +0200 Subject: m manuals --- completion/fish_ponythink.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'completion/fish_ponythink.fish') diff --git a/completion/fish_ponythink.fish b/completion/fish_ponythink.fish index 928b72e..24391ce 100644 --- a/completion/fish_ponythink.fish +++ b/completion/fish_ponythink.fish @@ -6,11 +6,11 @@ if test -d /usr/share/ponysay/ponies/ - set -g systemponies (ls /usr/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from \/usr\/share\/ponysay\/ponies\//') + set -g systemponies (ls --color=no /usr/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from \/usr\/share\/ponysay\/ponies\//') end if test -d ~/.local/share/ponysay/ponies/ - set -g homeponies (ls ~/.local/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from ~\/.local\/share\/ponysay\/ponies\//') + set -g homeponies (ls --color=no ~/.local/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from ~\/.local\/share\/ponysay\/ponies\//') end complete -c ponythink -s h --description "Help of ponythink" -- cgit From 839f0b20e8e4982da6a152bd6d702b699d352324 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Jul 2012 18:43:33 +0200 Subject: autogeneration of ponythink shell completions from ponysay completions --- completion/fish_ponythink.fish | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 completion/fish_ponythink.fish (limited to 'completion/fish_ponythink.fish') diff --git a/completion/fish_ponythink.fish b/completion/fish_ponythink.fish deleted file mode 100644 index 24391ce..0000000 --- a/completion/fish_ponythink.fish +++ /dev/null @@ -1,24 +0,0 @@ - -# Completions for ponysay & ponythink -# https://github.com/erkin/ponysay/ -# -# Author: Elis Axelsson - - -if test -d /usr/share/ponysay/ponies/ - set -g systemponies (ls --color=no /usr/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from \/usr\/share\/ponysay\/ponies\//') -end - -if test -d ~/.local/share/ponysay/ponies/ - set -g homeponies (ls --color=no ~/.local/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from ~\/.local\/share\/ponysay\/ponies\//') -end - -complete -c ponythink -s h --description "Help of ponythink" -complete -c ponythink -s v --description "Version of ponythink" -complete -c ponythink -s l --description "List pony files" -complete -c ponythink -s f -a "$systemponies $homeponies" --description "Select a pony, either a filename or pony name" -complete -c ponythink -s W -a "Integer" --description "The screen column where the message should be wrapped" - -set -e systemponies -set -e homeponies - -- cgit