mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-20 02:11:16 -03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user