mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-03 06:23:41 +08:00
11 lines
165 B
Fish
11 lines
165 B
Fish
function assert.expand_operator -a operator
|
|
switch $operator
|
|
case =
|
|
echo equals
|
|
case \-z
|
|
echo empty
|
|
case \*
|
|
echo $operator
|
|
end
|
|
end
|