mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-25 10:01:05 +01:00
17 lines
149 B
PHP
17 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))
|
|
}
|