Skip to content

Commit

Permalink
Select latest installed command (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored Oct 28, 2020
1 parent 4f03c30 commit e198dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uaws
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,5 @@ do
continue
fi

exec $(ls -1 ${lib_dir}/${selected_cmd}* | head -n1) "$@"
exec $(ls -1 ${lib_dir}/${selected_cmd}* | sort -rV | head -n1) "$@"
done

0 comments on commit e198dd7

Please sign in to comment.