--- a/dm Sat May 12 16:09:44 2007 +0200
+++ b/dm Sun May 13 22:20:06 2007 +0200
@@ -20,8 +20,8 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Instructions:
-# 'dm' will manage a list of id-directory. 'dmcd' will allow the current shell to
-# change to the directory given by 'id'.
+# 'dm' will manage a list of id-directory. 'dmcd' will allow the current shell
+# to change to the directory given by 'id'.
#
# Examples:
# $ dm 1 /tmp # Adds the id '1' for /tmp
@@ -39,11 +39,10 @@
#
# Your directory database is stored in ~/.dm .
-
function showdirs
{
if [ -f ~/.dm ] ; then
- cat ~/.dm | sort -n
+ cat ~/.dm | sort
fi
}