Prepare for v0.2.0 #53

Merged
glenux merged 43 commits from develop into master 2024-12-29 18:16:40 +00:00
Showing only changes of commit 84230a6828 - Show all commits

View file

@ -173,7 +173,9 @@ module GX
}
end
result_filesystem_name = Fzf.run(names_display.values.map(&.[:ansi_name]).sort).strip
## FIXME: feat: allow to sort by name or by filesystem
sorted_values = names_display.values.sort_by { |item| item[:filesystem].name }
result_filesystem_name = Fzf.run(sorted_values.map(&.[:ansi_name])).strip
selected_filesystem = names_display[result_filesystem_name][:filesystem]
puts ">> #{selected_filesystem.name}".colorize(:yellow)