From 2d46969d3eb20a06134c2be2d8d0caae0bd2e674 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Fri, 28 Oct 2016 14:42:57 -0700 Subject: [PATCH] alias: identify as alias in description. Like so: ~ $ alias foo=bar ~ $ functions foo function foo --description 'alias foo=bar' bar $argv; end --- share/functions/alias.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/alias.fish b/share/functions/alias.fish index 6a4973823..811214c1d 100644 --- a/share/functions/alias.fish +++ b/share/functions/alias.fish @@ -60,5 +60,5 @@ function alias --description 'Legacy function for creating shellscript functions set prefix command end end - echo "function $name --wraps $first_word; $prefix $first_word $body \$argv; end" | source + echo "function $name --wraps $first_word --description \"alias $argv\"; $prefix $first_word $body \$argv; end" | source end