mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
fixup! alias: fix indentation
This commit is contained in:
@@ -67,7 +67,7 @@ function alias --description 'Creates a function wrapping a command'
|
||||
end
|
||||
|
||||
# The function definition in split in two lines to ensure that a '#' can be put in the body.
|
||||
echo "function $name $wraps --description $cmd_string"\n"$body \$argv"\n"end" | source
|
||||
echo "function $name $wraps --description $cmd_string"\n" $body \$argv"\n"end" | source
|
||||
if set -q _flag_save
|
||||
funcsave $name
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user