diff --git a/lib/helpers.bash b/lib/helpers.bash index 35014a67..9cf5e3fd 100644 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -181,7 +181,7 @@ _bash-it-migrate() { for file_type in "aliases" "plugins" "completion" do - for f in `compgen -G "${BASH_IT}/$file_type/enabled/*.bash"` + for f in `sort <(compgen -G "${BASH_IT}/$file_type/enabled/*.bash")` do typeset ff=$(basename $f)