diff --git a/.config/bash/module/Export.sh b/.config/bash/module/Export.sh index 0cd279a..1467d0c 100644 --- a/.config/bash/module/Export.sh +++ b/.config/bash/module/Export.sh @@ -48,7 +48,7 @@ function export_java() { } function _get_java_versions() { - ls "${HOME}/app/java/x64/" | grep "jdk_" | sed -e "s/.*_//" | sort -g + ls "${HOME}/app/java/x64/" | grep "jdk_" | sed -e "s/.*_//" | sort -g 2> /dev/null } function _comp_java_versions() {