mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-15 19:22:45 +08:00
4 lines
185 B
Fish
4 lines
185 B
Fish
function omf.check.version -a min_version -a current_version
|
|
test (echo "$min_version"\n"$current_version" | tr '.' ' ' | sort -n | head -n1) = (echo "$min_version" | tr '.' ' ')
|
|
end
|