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