diff --git a/z.sh b/z.sh index c78f3cb..2b7f87a 100644 --- a/z.sh +++ b/z.sh @@ -148,7 +148,7 @@ _z() { function output(matches, best_match, common) { # list or return the desired directory if( list ) { - cmd = "sort -n >&2" + cmd = "sort -g >&2" for( x in matches ) { if( matches[x] ) { printf "%-10s %s\n", matches[x], x | cmd