update prezto
This commit is contained in:
17
.zprezto/modules/prompt/external/powerlevel9k/shunit2/examples/math.inc
vendored
Normal file
17
.zprezto/modules/prompt/external/powerlevel9k/shunit2/examples/math.inc
vendored
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))
|
||||
}
|
Reference in New Issue
Block a user