mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Rewrite
This commit is contained in:
parent
7dc9e0f926
commit
775dd20706
58 changed files with 8564 additions and 739 deletions
17
test/shunit2-2.1.6/examples/math.inc
Normal file
17
test/shunit2-2.1.6/examples/math.inc
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# 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))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue