mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-01-06 21:23:59 +08:00
18 lines
149 B
PHP
18 lines
149 B
PHP
# available as examples/math.inc
|
|
|
|
add_generic()
|
|
{
|
|
num_a=$1
|
|
num_b=$2
|
|
|
|
expr $1 + $2
|
|
}
|
|
|
|
add_bash()
|
|
{
|
|
num_a=$1
|
|
num_b=$2
|
|
|
|
echo $(($1 + $2))
|
|
}
|