# HG changeset patch # User Steve Losh # Date 1442508587 0 # Node ID 0d665668831855d99beb01740e71f509a6c4de44 # Parent 634131bfbe10f82fb035f61082a86e4bb3aee384 Fix fish tab complete with the new --wraps thing diff -r 634131bfbe10 -r 0d6656688318 fish/functions/ag.fish --- a/fish/functions/ag.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/ag.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,4 +1,4 @@ -function ag -d "Run Ag with appropriate options." +function ag -d "Run Ag with appropriate options." --wraps "ag" if begin test -f '.agignore'; and grep -q 'pragma: skipvcs' '.agignore'; end # If .agignore contains pragma: skipvcs, then we'll run ag in # "disregard .gitignore/.hgignore/svn:ignore" mode. This lets us diff -r 634131bfbe10 -r 0d6656688318 fish/functions/banner.fish --- a/fish/functions/banner.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/banner.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function banner -d "Show a fun twitch banner" +function banner -d "Show a fun twitch banner" --wraps "figlet" figlet -f ogre -w9999 $argv | cowsay -W 9999 -n -p | lolcat end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/cuts.fish --- a/fish/functions/cuts.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/cuts.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function cuts -d "Cut on space characters instead of tabs" +function cuts -d "Cut on space characters instead of tabs" --wraps "cut" cut -d' ' $argv end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/dr.fish --- a/fish/functions/dr.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/dr.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function dr -d "dr is 'tr -d'" +function dr -d "dr is 'tr -d'" --wraps "tr" tr -d $argv end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/g.fish --- a/fish/functions/g.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/g.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function g -d "git" +function g -d "git" --wraps "git" git $argv end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/gg.fish --- a/fish/functions/gg.fish Thu Sep 17 16:38:02 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function gg -d "git g" - git g $argv -end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/h.fish --- a/fish/functions/h.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/h.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function h -d "hg" +function h -d "hg" --wraps "hg" hg $argv end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/isen.fish --- a/fish/functions/isen.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/isen.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function isen -d "Translate from Icelandic to English" +function isen -d "Translate from Icelandic to English" --wraps "trans" trans -b -u firefox is:en $argv end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/md.fish --- a/fish/functions/md.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/md.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function md -d "mkdir" +function md -d "mkdir" --wrap "mkdir" mkdir -p $argv end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/o.fish --- a/fish/functions/o.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/o.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function o -d "open" +function o -d "open" --wraps "open" open $argv end diff -r 634131bfbe10 -r 0d6656688318 fish/functions/tm.fish --- a/fish/functions/tm.fish Thu Sep 17 16:38:02 2015 +0000 +++ b/fish/functions/tm.fish Thu Sep 17 16:49:47 2015 +0000 @@ -1,3 +1,3 @@ -function tm -d "tmux" +function tm -d "tmux" --wraps "tmux" tmux -u2 $argv end