aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-22 03:28:21 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-22 03:28:21 +0200
commitd179b3c18007d5e7c7326d3d2ae3b5f43cd88a70 (patch)
treedc242376d44f2312b2446e3b4a79ddfe26e970e3
parent860919ddd4f367c9be70b6e746b02695dfa3767a (diff)
downloadponysay-d179b3c18007d5e7c7326d3d2ae3b5f43cd88a70.tar.gz
ponysay-d179b3c18007d5e7c7326d3d2ae3b5f43cd88a70.tar.bz2
ponysay-d179b3c18007d5e7c7326d3d2ae3b5f43cd88a70.zip
sorting the symlinks in -L
-rwxr-xr-xponysay1
1 files changed, 1 insertions, 0 deletions
diff --git a/ponysay b/ponysay
index 8426fc4..b1911ce 100755
--- a/ponysay
+++ b/ponysay
@@ -326,6 +326,7 @@ class Ponysay():
w = UCS.dispLen(pony)
item = '\033[1m' + pony + '\033[21m' if (pony in quoters) else pony
syms = ponymap[pony]
+ syms.sort()
if len(syms) > 0:
w += 2 + len(syms)
item += ' ('