alias: identify as alias in description.

Like so:

~ $ alias foo=bar
~ $ functions foo
function foo --description 'alias foo=bar'
	bar  $argv;
end
This commit is contained in:
Aaron Gyes 2016-10-28 14:42:57 -07:00
parent f382fa8e8a
commit 2d46969d3e

View file

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