mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00: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:
parent
f382fa8e8a
commit
2d46969d3e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue